Ejemplo n.º 1
0
        public void TestUpdateWords()
        {
            int roomDictonary = 0;
            string searchWord = "кот";
            string[] exrectedTranslate = new string[] { "cat" };
            ServiceForDictonary testService = new ServiceForDictonary(new FakeServiceDbRepository());

            bool actualMessage = testService.UpdateWords(roomDictonary, searchWord, exrectedTranslate);

            Assert.IsTrue(actualMessage);
        }
Ejemplo n.º 2
0
        public void TestUpdateWords()
        {
            int    roomDictonary = 0;
            string searchWord    = "кот";

            string[]            exrectedTranslate = new string[] { "cat" };
            ServiceForDictonary testService       = new ServiceForDictonary(new FakeServiceDbRepository());

            bool actualMessage = testService.UpdateWords(roomDictonary, searchWord, exrectedTranslate);

            Assert.IsTrue(actualMessage);
        }