Esempio n. 1
0
        public void WordsController_GetValidWords()
        {
            var controller = new WordsController(_mockEnglishDictionaryService.Object);

            var result   = controller.GetValidWords(_boardDefinition);
            var response = result.Value as ValidWordsResponse;

            Assert.IsTrue(response.Words.Contains("ROARED"), "ROARED is not found");
        }