Assert.assertEquals(Integer.valueOf(2000), logger.getInterval());
Assert.assertEquals("theLog", logger.getLog());
Assert.assertEquals(LoggerType.CONSOLE, logger.getType());
ManifestModel manifest = rules.getManifest();
ContainerModel container = manifest.getContainer();
ResourcesModel resources = manifest.getResources();
RemoteModel remote = manifest.getRemote();
if (CONTAINER_XML.equals(xml)) {
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());
Assert.assertNull(resources);
} else if (RESOURCES_XML.equals(xml)) {
Assert.assertNull(container);
ResourceModel drlResource = resources.getResources().get(0);
Assert.assertEquals("foo.drl", drlResource.getLocation());
Assert.assertEquals(ResourceType.valueOf("DRL"), drlResource.getType());
ResourceModel dslResource = resources.getResources().get(1);
Assert.assertEquals("bar.dsl", dslResource.getLocation());
Assert.assertEquals(ResourceType.valueOf("DSL"), dslResource.getType());
ResourceModel dtableResource = resources.getResources().get(2);
Assert.assertEquals("foobar.xls", dtableResource.getLocation());
Assert.assertEquals(ResourceType.valueOf("DTABLE"), dtableResource.getType());
ResourceDetail dtableDetail = dtableResource.getDetail();
Assert.assertEquals("XLS", dtableDetail.getInputType());
Assert.assertEquals("MySheet", dtableDetail.getWorksheetName());