}
public void testMultipleProperties() throws Exception
{
List<PersistenceUnitMetaData> units = getPersistenceUnits(1);
PersistenceUnitMetaData unit = units.get(0);
assertEquals("bookingDatabase", unit.getName());
assertEquals("org.hibernate.ejb.HibernatePersistence", unit.getProvider());
assertEquals("java:/bookingDatasource", unit.getJtaDataSource());
Map<String, String> properties = unit.getProperties();
assertNotNull(properties);
String p0 = properties.get("hibernate.hbm2ddl.auto");
assertEquals("create-drop", p0);
String p1 = properties.get("hibernate.show_sql");
assertEquals("true", p1);