"Export-Pack1");
Instance inst = implementation.createInstance(null,
Collections.<String, String> emptyMap());
PackageReference ref = new PackageReference(exported);
Assert.assertNotNull("Implementation should provide resources (the package)", implementation.getProvidedResources());
Assert.assertTrue("Implementation should provides "+exported,implementation.getProvidedResources().contains(ref));
Assert.assertNotNull("Instance should provide resources (the package is inherited)", inst.getProvidedResources());