SingleNodeConnector extends MongoConnector { @Override public MongoClient getClient() { return new MongoClient(super.addresses.get(0), super.options()); } SingleNodeConnector(Builder builder); @Override MongoClient getClient();  }
@Test void getClient() { MongoConnector.Builder builder = MongoConnector.builder(); builder.address("localhost", 27017); builder.timeout(100); SingleNodeConnector connector = new SingleNodeConnector(builder); try { connector.getClient(); } catch (Exception ex) { } }