@Override
public void handle(DemoCommandObject arg) {
handled.set(true);
}
});
engine.send(cType.create(new DemoCommandObject()));
assertTrue(handled.get());
}
@Test(expected = DuplicateActionHandlerException.class)
public void shouldNotAddTwoHandlers() throws Exception {