### Question:
BookResult { public Long getTotalBooked() { return totalBooked; } BookResult(String bookId, Long totalBooked); void setTotalBooked(Long totalBooked); String getBookId(); Long getTotalBooked();  }### Answer:
@Test public void getTotalBooked() { Long bkQty = (long) 10; BookResult bkres1 = new BookResult("test_bkid_1", bkQty); assertEquals(bkQty, bkres1.getTotalBooked()); }