@Test
public void shouldCloseChannelAndNotForwardEventWhenReceiveExceptionCaughtEvent() throws Exception {

    ExceptionEvent exceptionEvent = new DefaultExceptionEvent(channel, new Exception("test exception"));
    handler.exceptionCaught(ctx, exceptionEvent);
    verifyNoMoreInteractions(ctx);
    verify(channel).close();
}