try {
HttpClient client = new HttpClient();
method = new GetMethod(BASE_URI);
client.executeMethod(method);
String responseBody = method.getResponseBodyAsString();
Address addr = AddressBook.defaultAddress;
assertTrue(responseBody.contains(addr.getEntryName()));
assertTrue(responseBody.contains(addr.getStreetAddress()));
assertTrue(responseBody.contains(addr.getZipCode()));
assertTrue(responseBody.contains(addr.getCity()));
assertTrue(responseBody.contains(addr.getCountry()));
assertTrue(responseBody.contains(addr.getState()));
} catch (Exception e) {
e.printStackTrace();
fail(e.getMessage());
} finally {
if (method != null) {