serverChannel.getJSONPayload();
//when
cacheClient.getCache().put("irrelevantKey", "newValue");
try {
JsonObject jsonPayload = serverChannel.getJSONPayload(250);
fail("Expected timeout" + jsonPayload);
} catch (RuntimeException e) {
assertEquals(e.getMessage(), "Timed out waiting for data to be pushed onto the channel.");
}
}