@Test
public void testHas() throws Exception {

    GroupResponse baseRequest = new GroupResponse();
    baseRequest.setResult(Collections.<String, Object>singletonMap("Hello", "World"));
    distributedCache.put("DUMMY_KEY_HAS", baseRequest);
    boolean response = distributedCache.has("DUMMY_KEY_HAS");
    assertTrue(response);
    response = distributedCache.has("INVALID_KEY");
    assertFalse(response);
    response = distributedCache.has(null);
    assertFalse(response);
}