public static void prepareDB() throws Exception {
  System.setProperty(SystemProperties.DATABASE_PROPERTIES,"src/test/resources/hibernate.properties");
  prepareDB(true);
}

public static void prepareDB ( ) throws Exception { System . setProperty ( SystemProperties . DATABASE_PROPERTIES , "src/test/resources/hibernate.properties" ) ; prepareDB ( true ) ; }
creates in - memory test database and fills it with test data .
