Beispiel #1
0
        public void GivenAMessage_ThenWordFinderIsCalled()
        {
            var request = new FindWordsRequestMessage()
            {
                Pattern = "$pple"
            };

            requestHandler.FindWords(request);
            wordFinder.Received(1).FindWords("$pple");
        }
 public void GivenTilePlacementCandidates_ThenGoHandlerShouldCallWordFinder()
 {
     GivenCandidateWithPattern("a???e");
     WhenHandleGo();
     wordFinder.Received().FindWords("a???e");
 }