/** Tests server agent getting/setting. */
 public void testServerAgent() throws Exception {
   final Request request = getRequest();
   final Response response = getResponse(request);
   String name = "Restlet";
   response.getServerInfo().setAgent(name);
   assertEquals(name, response.getServerInfo().getAgent());
   name = "Restlet Server";
   response.getServerInfo().setAgent(name);
   assertEquals(name, response.getServerInfo().getAgent());
 }
 /** Tests server address getting/setting. */
 public void testServerAddress() throws Exception {
   final Request request = getRequest();
   final Response response = getResponse(request);
   String address = "127.0.0.1";
   response.getServerInfo().setAddress(address);
   assertEquals(address, response.getServerInfo().getAddress());
   address = "192.168.99.10";
   response.getServerInfo().setAddress(address);
   assertEquals(address, response.getServerInfo().getAddress());
 }