### Question:
RobeHibernateBundle extends HibernateBundle<T> { public static final RobeHibernateBundle getInstance() { if (instance != null) return instance; else throw new RuntimeException("HibernateBundle is not created. Please call createInstance first."); } protected  RobeHibernateBundle(ImmutableList<Class<?>> entities, SessionFactoryFactory sessionFactoryFactory); static RobeHibernateBundle createInstance(String[] packages, String[] entities); static final RobeHibernateBundle getInstance(); HibernateConfiguration getDatabaseConfiguration(T configuration); @Override PooledDataSourceFactory getDataSourceFactory(T configuration); org.hibernate.cfg.Configuration getConfiguration();  }### Answer:
@Test(expected = RuntimeException.class) @Order public void getInstanceThrowsRuntimeException() { RobeHibernateBundle.getInstance(); }
@Test @Order(order = 3) public void getInstance() { RobeHibernateBundle bundle = RobeHibernateBundle.getInstance(); Assert.assertNotNull(bundle); }