示例#1
0
        void GivenAValidGoWhichHasCreatedSomeWords()
        {
            var validationResult = new GoValidationResult()
            {
                IsValid = true
            };

            goValidator.ValidateGo(game).Returns(validationResult);
            goWords = new List <GoWord>()
            {
                new GoWord()
                {
                    Word = "GOOD"
                },
                new GoWord()
                {
                    Word = "BETTER"
                }
            };
            goWordFinder.FindWords().Returns(goWords);
        }
示例#2
0
 private void FindGoWords()
 {
     goWords = goWordFinder.FindWords();
 }