public void testGetResourceFile3() throws Exception { loadContentPackage1(); // %20 Element element = cpCore.getElementByIdentifier(cpCore.getRootManifestElement(), CP_Package1.RESOURCE2_ID); assertNotNull("Resource File should exist", cpCore.getResourceFile(element)); }
public void testGetResourceFile2() throws Exception { loadContentPackage1(); // Bogus Element Element element = cpCore.getElementByIdentifier(cpCore.getRootManifestElement(), CP_Package1.ORG1_ID); assertNull("Resource File should not exist", cpCore.getResourceFile(element)); }