public void testAddHost() {
Host host = new Host("127.0.0.1", TestHostType.GOOD_FAST.ordinal());
CountingConnectionPoolMonitor monitor = new CountingConnectionPoolMonitor();
ConnectionPoolConfiguration config = createConfig();
SimpleHostConnectionPool<TestClient> pool = new SimpleHostConnectionPool<TestClient>(
host, new TestConnectionFactory(config, monitor), monitor,
config, new NoOpListener());
Assert.assertEquals(0, pool.getActiveConnectionCount());
Assert.assertEquals(false, pool.isReconnecting());