public void Check_InValidWordWithPersonalDictionaryThatAcceptsAllWordsAdded_ReturnsTrue() { m_instance.SetDictionaryAttribute(DictionaryName); var personalDictionary = new MockMozIPersonalDictionaryAcceptsAllWords(); m_instance.SetPersonalDictionaryAttribute(personalDictionary); Assert.IsTrue(m_instance.Check("ThisIsNotACorrectlySpeltWord")); }
public void GetPersonalDictionaryAttribute_PersonalDictionaryHasBeenSet_ReturnsValidInstance() { m_instance.SetDictionaryAttribute(DictionaryName); var personalDictionary = new MockMozIPersonalDictionaryAcceptsAllWords(); m_instance.SetPersonalDictionaryAttribute(personalDictionary); Assert.AreEqual(personalDictionary, m_instance.GetPersonalDictionaryAttribute()); }