assertEquals(duration, new Duration(10, TimeUnit.SECONDS));
ArgumentCaptor<Request> captor = ArgumentCaptor.forClass(Request.class);
verify(processor).handle(captor.capture());
Request request = captor.getValue();
assertEquals(request.getMethod(), "PUT");
assertEquals(request.getUri(), URI.create("v1/announcement/" + nodeInfo.getNodeId()));
assertEquals(request.getHeader("User-Agent"), nodeInfo.getNodeId());
assertEquals(request.getHeader("Content-Type"), "application/json");
// TODO test request body
}