Book extends BaseEntity { public String getTitle() { return title; } protected  Book();  Book(String title, String author, String description, int price, byte[] picture, int inventory); String getTitle(); void setTitle(String title); String getAuthor(); void setAuthor(String author); String getDescription(); void setDescription(String description); int getPrice(); void setPrice(int price); byte[] getPicture(); void setPicture(byte[] picture); Category getCategory(); void setCategory(Category category); int getInventory(); void setInventory(int inventory);  }
@Test public void getTitle() throws Exception { assertEquals("Title", book.getTitle()); }