@Test public void setPrice() throws Exception { book.setPrice(20); assertEquals(20, book.getPrice()); }
public void setPrice(int price) { this.price = price; }
Book extends BaseEntity { public void setPrice(int price) { this.price = price; } }
Book extends BaseEntity { public void setPrice(int price) { this.price = price; } protected  Book();  Book(String title, String author, String description, int price, byte[] picture, int inventory); }
Book extends BaseEntity { public void setPrice(int price) { this.price = price; } 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); }
Book extends BaseEntity { public void setPrice(int price) { this.price = price; } 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);  }