controlConfigurator.setupControlEngine(annotationTester);
verify(engine).addActionHandler(actionTypeCaptor.capture(),
actionHandlerCaptor.capture());
ActionId type = actionTypeCaptor.getValue();
ActionHandler handler = actionHandlerCaptor.getValue();
assertEquals(TestTypes.requestId, type.getId());
assertEquals(TestTypes.request, type);
assertNotNull(handler);
assertFalse(annotationTester.requestHandled);
handler.handle(new RequestAction<String, Integer>("5", EmptyCallback
.get(Integer.class)));
assertTrue(annotationTester.requestHandled);
}