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()); }