//TODO re-implement this test!
}
@Test
public void testFamixPackage() throws EvolizerException{
FamixPackage p = new FamixPackage("java.awt");
FamixClass clazz = new FamixClass("ActionEvent");
p.getClasses().add(clazz);
fEvolizerSession.startTransaction();
fEvolizerSession.saveObject(p);
fEvolizerSession.saveObject(clazz);
fEvolizerSession.endTransaction();
fEvolizerSession.close();
fEvolizerSession = fSessionHandler.getCurrentSession(fDBUrl);
List<FamixPackage> packages = fEvolizerSession.query("from FamixPackage as p where p.uniqueName = 'java.awt'", FamixPackage.class);
assertEquals(1, packages.size());
FamixPackage returnedFamixPackage = packages.get(0);
assertEquals("java.awt", returnedFamixPackage.getUniqueName());
assertEquals(1, returnedFamixPackage.getClasses().size());
FamixClass returnedClass = returnedFamixPackage.getClasses().iterator().next();
assertEquals("ActionEvent", returnedClass.getUniqueName());
}