Assert.assertEquals("Two required wires", 2, wiringA.getRequiredResourceWires(null).size());
// Build a resource that has a class loading dependency
DefaultResourceBuilder builder = new DefaultResourceBuilder();
ResourceIdentity residB = ResourceIdentity.create(RESOURCE_D, Version.emptyVersion);
Capability icap = builder.addIdentityCapability(residB);
icap.getAttributes().put(IdentityNamespace.CAPABILITY_RUNTIME_NAME_ATTRIBUTE, RESOURCE_D + ".war");
builder.addContentCapability(deployer.getDeployment(RESOURCE_D));
Resource resB = builder.getResource();
// Deploy a resource through the {@link ResourceInstaller}
handles.add(provisioner.installResource(resB));