* When an error occurs or test case fails.
*/
private void fetchPage(String page, int expectedCode) throws Exception {
URL url = new URL("http", "127.0.0.1", port, page);
Response response = null;
response = http.getResponse(url, new WebPage(), true);
int code = response.getCode();
assertEquals("HTTP Status Code for " + url, expectedCode, code);
}