LoggerModel logger = bpm.getLoggers().getLoggers().get(0);
Assert.assertEquals(Integer.valueOf(2000), logger.getInterval());
Assert.assertEquals("theLog", logger.getLog());
Assert.assertEquals(LoggerType.CONSOLE, logger.getType());
ManifestModel manifest = bpm.getManifest();
ContainerModel container = manifest.getContainer();
ResourcesModel resources = manifest.getResources();
RemoteModel remote = manifest.getRemote();
if (CONTAINER_XML.equals(xml)) {
Assert.assertNull(resources);
Assert.assertNull(remote);
ReleaseId rid = Containers.toReleaseId(container.getReleaseId());
Assert.assertEquals("theGroupId", rid.getGroupId());
Assert.assertEquals("theArtifactId", rid.getArtifactId());
Assert.assertEquals("theVersion", rid.getVersion());
Assert.assertEquals("theBase", container.getBaseName());
Assert.assertEquals("theSession", container.getSessionName());
Assert.assertTrue(container.isScan());
Assert.assertEquals(Long.valueOf(1000), container.getScanInterval());
} else if (RESOURCES_XML.equals(xml)) {
Assert.assertNull(container);
Assert.assertNull(remote);
ResourceModel bpmn2Resource = resources.getResources().get(0);
Assert.assertEquals("foobar.bpmn", bpmn2Resource.getLocation());