@Test
    public void testFailedExecution() {
        executeBlockingComponent.executeBlocking(future -> {
            future.fail(new ExampleException("Aldabra"));
        },
        result -> {
            Assert.assertFalse(result.isSuccess());
            Assert.assertTrue(result.isError());
            Assert.assertTrue(result.getError() instanceof ExampleException);
            Assert.assertEquals(result.getError().getMessage(), "Aldabra");
            Assert.assertNull(result.getResult());
        });
    }
@author Marc Savy {@literal <msavy@redhat.com>}
gateway/engine/core/src/test/java/io/apiman/gateway/engine/impl/DefaultExecuteBlockingComponentTest.java