@Test
public void testGETOperationWithJsonTrasformation() {

    RESTWorkItemHandler handler = new RESTWorkItemHandler();
    WorkItemImpl workItem = new WorkItemImpl();
    workItem.setParameter("Url",
                          serverURL + "/json");
    workItem.setParameter("Method",
                          "GET");
    workItem.setParameter("ResultClass",
                          Person.class.getName());
    WorkItemManager manager = new TestWorkItemManager();
    handler.executeWorkItem(workItem,
                            manager);
    Map<String, Object> results = ((TestWorkItemManager) manager).getResults(workItem.getId());
    Person result = (Person) results.get(PARAM_RESULT);
    assertNotNull("result cannot be null",
                  result);
    assertEquals("Person Json",
                 result.getName());
    int responseCode = (Integer) results.get(PARAM_STATUS);
    assertNotNull(responseCode);
    assertEquals(200,
                 responseCode);
    String responseMsg = (String) results.get(PARAM_STATUS_MSG);
    assertNotNull(responseMsg);
    assertEquals("request to endpoint " + workItem.getParameter("Url") + " successfully completed OK",
                 responseMsg);
}