Example #1
0
        public void NewWord_NonEmptyEntryWithNoLexicalFormInCurrentWritingSystem_EntryStillAdded()
        {
            StartWithEmpty();
            ClickAddWord();
            RepositoryId[] repositoryId = _lexEntryRepository.GetAllItems();
            LexEntry       entry        = _lexEntryRepository.GetItem(repositoryId[0]);

            entry.LexicalForm[_vernacularWritingSystem.Id + "X"] = "something";
            ClickAddWord();
            Assert.AreEqual(2, _lexEntryRepository.CountAllItems());
        }