ArangoDBDocumentConfiguration extends ArangoDBConfiguration implements DocumentConfiguration { @Override public ArangoDBDocumentCollectionManagerFactory get() throws UnsupportedOperationException { Map<String, String> configuration = ConfigurationReader.from(FILE_CONFIGURATION.get()); SettingsBuilder builder = Settings.builder(); configuration.entrySet().stream().forEach(e -> builder.put(e.getKey(), e.getValue())); return get(builder.build()); }  @Override ArangoDBDocumentCollectionManagerFactory get(); @Override ArangoDBDocumentCollectionManagerFactory get(Settings settings);  }
@Test public void shouldCreateDocumentCollectionManagerFactory() { ArangoDBDocumentConfiguration configuration = new ArangoDBDocumentConfiguration(); configuration.addHost("localhost", 8529); DocumentCollectionManagerFactory managerFactory = configuration.get(); assertNotNull(managerFactory); }