XMLResponse extends BaseResponse { public String getValue(String key) { if (null == handler) { handler = new GenericXMLHandler(response); } return handler.GetElementText(key); } XMLResponse();  XMLResponse(String body); String getResponseBody(); String getValue(String key);  }
@Test public void testGetValue_1() throws Exception { XMLResponse fixture = new XMLResponse("htllo=there"); String key = ""; String result = fixture.getValue(key); assertNotNull(result); }
@Test public void testGetValue_2() throws Exception { XMLResponse fixture = new XMLResponse(""); String key = ""; String result = fixture.getValue(key); assertNotNull(result); }