public static void setUpBeforeClass() throws Exception {
GuiceContext context = GuiceContext.getInstance();
context.addModuleProvider(
new JpaGuiceModuleProvider(),
(new DaoModuleProvider("org.jrest4guice.dao.test.jpa", "org.jrest4guice.dao.jpa"))
.addActionContextProviders(new JpaContextProvider())).init();
bookDao = context.getBean(BookDao.class);
Book b0 = getNewBook("Book 0", 10f, 10);
Book b1 = getNewBook("Book 1", 10f, 20);
Book b2 = getNewBook("Book 2", 10f, 30);