Package org.agoncal.book.javaee7.chapter02.ex36

Examples of org.agoncal.book.javaee7.chapter02.ex36.BookService36.deleteBook()


  @Test
  public void shouldCheckNumberIsThirteenDigits() {
    BookService36 bookService = container.instance().select(BookService36.class).get();
    Book36 book = bookService.createBook("H2G2", 12.5f, "Geeky scifi Book");
    assertTrue(book.getIsbn().startsWith("8"));
    bookService.deleteBook(book);
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.