public void Find_By_Genre_Should_Return_True_Or_False() { //Arrange this.MockRepository.Setup(foo => foo.FindByGenre("Fiction")).Returns(true); //Act HomeController controller = new HomeController(this.MockRepository.Object); bool isFound = controller.FindByGenre("Fiction"); //Assert isFound.ShouldBeTrue(); }