@Test(expected = DuplicateActionHandlerException.class)
public void shouldNotAddTwoHandlers() throws Exception {
DefaultActionDelegate engine = new TestActionDelegate();
engine.addActionHandler(cType, new ActionHandler<DemoCommandObject>() {
@Override
public void handle(DemoCommandObject arg) {
}
});
engine.addActionHandler(cType, new ActionHandler<DemoCommandObject>() {