public void testCreateMinimalSingleResourceAndProcessorOk() throws Exception {
DeploymentPackageBuilder dpBuilder = DeploymentPackageBuilder.create("dp-test", "1.0.0");
dpBuilder
.add(dpBuilder.createResourceProcessorResource()
.setUrl(getTestBundle("rp1")))
.add(dpBuilder.createResource()
.setResourceProcessorPID("org.apache.felix.deploymentadmin.test.rp1")
.setUrl(getTestResource("test-config1.xml"))
);
JarInputStream jis = new JarInputStream(dpBuilder.generate());