SystemInstance.get().setProperty("openejb.altdd.prefix", "footest, test");
ConfigurationFactory factory = new ConfigurationFactory();
URL resource = AltDDPrefixTest.class.getClassLoader().getResource("altddPU1");
File file = URLs.toFile(resource);
AppInfo appInfo = factory.configureApplication(file);
assertNotNull(appInfo);
assertEquals(0, appInfo.ejbJars.size());
assertEquals(1, appInfo.persistenceUnits.size());
PersistenceUnitInfo info = appInfo.persistenceUnits.get(0);