@Test public void shouldBeAbleToGetPathForClassloaderResource() throws Exception { ArchivePath foundResourcePath = AssetUtil.getPathForClassloaderResource(EXISTING_RESOURCE); Assert.assertEquals("The classloader resource path should not contain the file name", new BasicPath( "org/jboss/shrinkwrap/impl/base/asset"), foundResourcePath); }