mockServletConfiguration.expects( atMostOnce() ).method("getDefaultRedirectorURL").will( returnValue(testURL.getPath()) );
//mockServletConfiguration.matchAndReturn("getDefaultRedirectorURL",
// testURL.getPath());
jettyTestSetup = new Jetty5xTestSetup(new SampleTestCase(),
configuration, servletConfiguration, filterConfiguration);
// Ensure that the Jetty server is not already started.
if (jettyTestSetup.isAvailable(
jettyTestSetup.testConnectivity(testURL)))