Source

Resharper Spell Checker / ReSpeller.RSTests / SpellEngine / SpellCheckerTest.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JetBrains.Application;
using ReSpeller.SpellEngine;

namespace ReSpeller.RSTests.SpellEngine
{
  [ShellComponent]
  public class SpellCheckerStub : ISpellChecker, ISingleLanguageWordStorage
  {
    public bool CheckWordSpelling(string word)
    {
      return word.ToLower() != "wrongword";
    }

    public List<string> Suggestions(string word)
    {
      return new List<string>{word};
    }

    public void UpdateConfig()
    {
      
    }

    public void AddWordToUserDict(string word)
    {
      
    }

    public void AddWordToCustomDict(string word)
    {
      
    }
  }
}