@Test
public void shouldWrapCheckedException() throws Exception {

    final Exception thrownException = new Exception("messageABC");
    doThrow(thrownException).when(checkedExcCommandHandler).handles(envelope);
    expectedException.expect(HandlerExecutionException.class);
    expectedException.expectCause(is(thrownException));
    new HandlerMethod(checkedExcCommandHandler, method(new CheckedExceptionThrowingCommandHandler(), "handles"), JsonEnvelope.class).execute(envelope);
}