@RunWith(Enclosed.class)
public class HibernateInitializerTest {
public static class Creating_A_Hibernate_Initializer {
@Test
public void itStartsAPersistenceService() throws Exception {
final PersistenceService service = mock(PersistenceService.class);
final Injector injector = Guice.createInjector(new AbstractModule() {
@Override
protected void configure() {
bind(PersistenceService.class).toInstance(service);