@Test
public void testHealthChecker() {

    final ChannelHealthChecker healthChecker = ChannelHealthChecker.ACTIVE;
    final SimpleChannelPool pool = new SimpleChannelPool(
            new Bootstrap(),
            new CountingChannelPoolHandler(),
            healthChecker);
    try {
        assertSame(healthChecker, pool.healthChecker());
    } finally {
        pool.close();
    }
}