### Question:
DssHttpRequestHandler extends SimpleChannelInboundHandler<FullHttpRequest> { @Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) { logger.error("ExceptionCaught", cause); ctx.close(); } DssHttpRequestHandler(String WEBSOCKET_PATH); @Override void channelReadComplete(ChannelHandlerContext ctx); @Override void exceptionCaught(ChannelHandlerContext ctx, Throwable cause);  }### Answer:
@Test void exceptionCaught() { mockChannelHandlerContextChannelId(ctx, "abcedf"); final DssHttpRequestHandler handler = new DssHttpRequestHandler(WEBSOCKET_PATH); handler.exceptionCaught(ctx, new NullPointerException()); assertTrue(true); }