contributor.initializeContribution( context );
contributor.contributeProvider( context, provider );
HostmapFunctionDescriptor funcDesc = rewriteRules.getFunction( "hostmap" );
assertThat( funcDesc.config(), is( "/WEB-INF/hostmap.txt" ) );
Node node = webArchive.get( "/WEB-INF/hostmap.txt" );
String asset = IOUtils.toString( node.getAsset().openStream() );
assertThat( asset, containsString( "test-host-external=test-host-internal" ) );