MadvocSuite.stopTomcat();
}
@Test
public void testForwardTo() {
HttpResponse response;
response = HttpRequest.get("localhost:8173/alpha.html").send();
assertEquals("alpha.jsp", response.bodyText().trim());
response = HttpRequest.get("localhost:8173/alpha.hello.html").send();
assertEquals("alpha.hello.jsp", response.bodyText().trim());
response = HttpRequest.get("localhost:8173/alpha.ciao.html").send();
assertEquals("alpha.hello.jsp", response.bodyText().trim());
response = HttpRequest.get("localhost:8173/alpha.ciao2.html").send();
assertEquals("alpha.hello.jsp", response.bodyText().trim());
response = HttpRequest.get("localhost:8173/alpha.hola.html").send();
assertEquals("alpha.hello.jsp", response.bodyText().trim());
response = HttpRequest.get("localhost:8173/alpha.holahoopa.html").send();
assertEquals("alpha.hola.jsp", response.bodyText().trim());
response = HttpRequest.get("localhost:8173/alpha.home.html").send();
assertEquals("hello", response.bodyText().trim());
response = HttpRequest.get("localhost:8173/alpha.home2.html").send();
assertEquals("Hello world", response.bodyText().trim());
}