@Test
void shouldFailBlockingGetInEventLoopThread() throws Exception
{

    EventLoopGroup eventExecutor = EventLoopGroupFactory.newEventLoopGroup( 1 );
    try
    {
        CompletableFuture<String> future = new CompletableFuture<>();
        Future<String> result = eventExecutor.submit( () -> Futures.blockingGet( future ) );
        ExecutionException e = assertThrows( ExecutionException.class, result::get );
        assertThat( e.getCause(), is( blockingOperationInEventLoopError() ) );
    }
    finally
    {
        eventExecutor.shutdownGracefully();
    }
}