@BeforeClass public static void setup() throws Exception { assertNull(helper); helper = new PersistenceTestHelperImpl(); // helper.setClient(this); helper.setup(); }
@AfterClass public static void teardown() throws Exception { logger.info("teardown"); helper.teardown(); }
public AbstractMongoTest() { super(); emf = (EntityManagerFactoryImpl) helper.getEntityManagerFactory(); smf = new ServiceManagerFactory(emf); smf.setApplicationContext(helper.getApplicationContext()); }
public AbstractServiceTest() { emf = (EntityManagerFactoryImpl) helper.getEntityManagerFactory(); smf = new ServiceManagerFactory(emf, properties); smf.setApplicationContext(helper.getApplicationContext()); }