public void ContainsWordShouldReturnFalseIfNotContained() { var words = new List <string>() { "house", "car" }; wordsReaderMock .Setup(reader => reader.GetAllWords()) .Returns(words); repo = new WordsRepository(wordsReaderMock.Object); Assert.False(repo.ContainsWord("motorcycle")); }