Map<String, PersistenceUnitConfigurer> configurerMap = CollectionFactory
.<String, PersistenceUnitConfigurer>newMap();
configurerMap.put("defaultpropertytest", configurer);
EntityManagerSourceImpl emSource = new EntityManagerSourceImpl(
LoggerFactory.getLogger(EntityManagerSourceImplTest.class), new ClasspathResource(
persistenceUnitFile), null, configurerMap);
return emSource;
}