### Question:
IdleHandler extends ReadTimeoutHandler { @Override public void channelRead(final ChannelHandlerContext ctx, final Object msg) throws Exception { super.channelRead(ctx, msg); first = true; } IdleHandler(final long readerIdleTime, final TimeUnit unit); @Override void channelRead(final ChannelHandlerContext ctx, final Object msg);  }### Answer:
@Test public void testChannelRead() { try { idleHandler.channelRead(mockChHndlrCtx, new Object() ); } catch (Exception e) { Assert.fail(); } verify(mockChHndlrCtx, times(1)).fireChannelRead(any(SwitchIdleEvent.class)) ; }