public void SecondIsBookNameInLibraryTest() { BookValidator bookValidator = new BookValidator(); bool expected = false; string bookName = "Star book"; List <Book> books = new List <Book> { new Book("Book about nothing", "Richards", "9994443332221"), new Book("Lord of the rings", "tolkien", "1111222233334") }; var actual = bookValidator.IsBookNameInBooks(bookName, books); Assert.AreEqual(expected, actual); }