@Test
public void testConfigureFactoryForSingleConfig() {

    ConnectionConfigurator configurator = instancePool.select(ConnectionConfigurator.class).get();
    configurator.configureFactory(TestEventBinderOne.class);
    ConnectionFactory connectionFactory = configurator.connectionFactory;
    Assert.assertEquals("hostOne", connectionFactory.getHost());
    Assert.assertEquals("vHostOne", connectionFactory.getVirtualHost());
    Assert.assertEquals(1111, connectionFactory.getPort());
    Assert.assertEquals(111, connectionFactory.getRequestedFrameMax());
    Assert.assertEquals(11, connectionFactory.getRequestedHeartbeat());
    Assert.assertEquals(1, connectionFactory.getConnectionTimeout());
    Assert.assertEquals("userOne", connectionFactory.getUsername());
    Assert.assertEquals("passOne", connectionFactory.getPassword());
}