List<PersistenceUnitCommon> allUnits = config.getAllPersistenceUnit();
Assert.assertEquals("java:jboss:jta-ds", allUnits.get(0).getJtaDataSource());
Assert.assertTrue(project.hasFacet(PersistenceMetaModelFacet.class));
PersistenceMetaModelFacet facet = project.getFacet(PersistenceMetaModelFacet.class);
Assert.assertEquals(new HibernateMetaModelProvider().getProcessor(), facet.getProcessor());
}