### Question:
HouseKeeper extends ChannelInboundHandlerAdapter { @Override public void channelInactive( ChannelHandlerContext ctx ) { connection.stop(); } HouseKeeper( BoltConnection connection, Log log ); @Override void channelInactive( ChannelHandlerContext ctx ); @Override void exceptionCaught( ChannelHandlerContext ctx, Throwable cause );  }### Answer:
@Test public void shouldNotPropagateChannelInactive() throws Exception { ChannelInboundHandler next = mock( ChannelInboundHandler.class ); BoltConnection connection = mock( BoltConnection.class ); channel = new EmbeddedChannel( new HouseKeeper( connection, NullLog.getInstance() ), next ); channel.pipeline().fireChannelInactive(); verify( next, never() ).channelInactive( any() ); }