@Test (expected = ActionExecuteException.class)
public void checkObserverExecuteExceptionOnHandlerExecution()
        throws Exception {

    IKey key = mock(IKey.class);
    IScope scope = mock(IScope.class);
    IAction handler = new ScopeCreationEventHandler(key);
    doThrow(ActionExecuteException.class).when(scope).setValue(any(IKey.class), any(IStrategyContainer.class));
    handler.execute(scope);
    fail();
}