@Test
public void testBootstrap() {

    final SimpleChannelPool pool = new SimpleChannelPool(new Bootstrap(), new CountingChannelPoolHandler());
    try {
        // Checking for the actual bootstrap object doesn't make sense here, since the pool uses a copy with a
        // modified channel handler.
        assertNotNull(pool.bootstrap());
    } finally {
        pool.close();
    }
}