boolean isWaitingForReply(long requestId) {
        return requestForId.containsKey(requestId);
    }
@Test
    public void testNotWaitingForReplyWithUnknownId() {
        assertFalse(service.isWaitingForReply(123));
    }