@Test
void getClient() {

    List<ServerAddress> hosts = new ArrayList<>();
    hosts.add(new ServerAddress("localhost", 27017));
    MongoConnector.Builder builder = MongoConnector.builder();
    builder.pool(hosts);
    builder.timeout(100);
    PoolConnector connector = new PoolConnector(builder);
    try {
        connector.getClient();
    } catch (Exception ex) {
        // ignore
    }
}