public void UpdateBookTitle() { Books book = new Books() { id = 105, author = "Jane Austin", title = "Awesome book", type = "Classic", penaltyCost = 20, state = 1 }; Assert.IsTrue(BookCRUD.addBook(book.id, book.title, book.author, book.type, book.penaltyCost, DateTime.Today, (int)book.state)); Assert.IsTrue(BookCRUD.updateTitle(book.id, "Good book")); book = BookCRUD.getBook(book.id); Assert.AreEqual(book.title, "Good book"); }