@Test @ArchiveType(WebContainer.class) public void testAddWebResourcePackages() throws Exception { getWebContainer().addAsWebResources(AssetUtil.class.getPackage(), "Test.properties", "Test2.properties"); ArchivePath testPath = new BasicPath(getWebPath(), NAME_TEST_PROPERTIES); ArchivePath testPath2 = new BasicPath(getWebPath(), NAME_TEST_PROPERTIES_2); Assert.assertTrue("Archive should contain " + testPath, getArchive().contains(testPath)); Assert.assertTrue("Archive should contain " + testPath2, getArchive().contains(testPath2)); }