@Test
public void testHelloName() throws Exception {

  Response response = rest.helloName("Peter");
  Assert.assertEquals(Response.Status.OK.getStatusCode(), response.getStatus());
  Assert.assertEquals("Hello Peter!", response.getEntity());
}