ClasspathAssetAliasManagerImpl implements ClasspathAssetAliasManager { public Map<String, String> getMappings() { return Collections.unmodifiableMap(aliasToPathPrefix); } ClasspathAssetAliasManagerImpl(Map<String, String> configuration); AssetAlias extractAssetAlias(Resource resource); Map<String, String> getMappings();  }
@Test public void get_mappings() { Map<String, String> expected = CollectionFactory.newCaseInsensitiveMap(); expected.put("tapestry", "org/apache/tapestry5"); expected.put("tapestry-internal", "org/apache/tapestry5/internal"); expected.put("mylib", "com/example/mylib"); ClasspathAssetAliasManager manager = new ClasspathAssetAliasManagerImpl(configuration()); assertEquals(manager.getMappings(), expected); }