assertTrue( "WSDL URL is missing", html.contains( "/content/ws-wsdl/echoService" ) );
}
@Test
public void testListingPageStyled() throws Exception {
MockServletContext context = new MockServletContext();
context.addResourcePaths( "/", Arrays.asList( "test-module/" ) );
context.addResourcePaths( "/test-module/", Arrays.asList( "themes.xml" ) );
context.addResourcePaths( "/test-module/themes/onyx/", Arrays.asList( "styles.css" ) );
File themesDotXML = new File( microPlatform.getFilePath() + "system/axis/themes.xml" );
context.setResource( "/test-module/themes.xml", themesDotXML.toURI().toURL() );
context.setResourceAsStream( "/test-module/themes.xml", new FileInputStream( themesDotXML ) );
File styleDotSCC = new File( microPlatform.getFilePath() + "system/axis/themes/onyx/styles.css" );
context.setResource( "/test-module/themes/onyx/styles.css", styleDotSCC.toURI().toURL() );
context.setResourceAsStream( "/test-module/themes/onyx/styles.css", new FileInputStream( styleDotSCC ) );
PentahoSystem.getApplicationContext().setContext( context );
IContentGenerator serviceLister = new StyledHtmlAxisServiceLister();
String html = ContentGeneratorUtil.getContentAsString( serviceLister );