XMLRequest extends BaseRequest { public String getKey(String key) { return handler.GetElementText(key); } XMLRequest(TankHttpClient client, TankHttpLogger logUtil); void setKey(String key, String value); String getKey(String key); void setNamespace(String name, String value);  }
@Test public void testGetKey_1() throws Exception { XMLRequest fixture = new XMLRequest(null, null); fixture.handler = new GenericXMLHandler(); String key = ""; String result = fixture.getKey(key); assertNotNull(result); }