// just run with a minimum of fuss.
@Test
public void testGeneration() throws Exception {
JavaScriptContainer container = new JavaScriptContainer(null);
ToolContext context = new ToolContext();
context.put(ToolConstants.CFG_WSDLURL, getLocation("hello_world.wsdl"));
context.put(ToolConstants.CFG_OUTPUTDIR, output.toString());
String[] prefixes = new String[1];
prefixes[0] = "http://apache.org/hello_world_soap_http=murble";
context.put(ToolConstants.CFG_JSPACKAGEPREFIX, prefixes);
container.setContext(context);
container.execute();
// now we really want to check some results.
File resultFile = new File(output, "SOAPService_Test1.js");
assertTrue(resultFile.canRead());