public void TestAddIndex() { _dictionaryModel = new DictionaryModel(); _testModel = new TestModel(_dictionaryModel); _testModel.SetGetIndex = ConstantWord.ONE; _testModel.AddIndex(); Assert.AreEqual(_testModel.SetGetIndex, ConstantWord.TWO); }
public void TestAddIndex() { _dictionaryModel = new DictionaryModel(); _testModel = new TestModel(_dictionaryModel); _testModel.SetGetIndex = ConstantWord.ONE; _testModel.AddIndex(); Assert.AreEqual(_testModel.SetGetIndex, ConstantWord.TWO); }