use of org.mamute.providers.SessionFactoryCreator in project mamute by caelum.
the class ForgotPasswordTest method setup.
@BeforeClass
public static void setup() throws IOException {
SessionFactoryCreator sessionFactoryCreator = new SessionFactoryCreator(new MamuteDatabaseConfiguration(env, null, null));
sessionFactoryCreator.init();
SessionFactory sf = sessionFactoryCreator.getInstance();
SESSION = sf.openSession();
}
Aggregations