ArangoDBDocumentCollectionManagerFactory implements DocumentCollectionManagerFactory { @Override public ArangoDBDocumentCollectionManager get(String database) { ArangoDBUtil.checkDatabase(database, arangoDB); return new DefaultArangoDBDocumentCollectionManager(database, arangoDB); } ArangoDBDocumentCollectionManagerFactory(ArangoDB arangoDB); @Override ArangoDBDocumentCollectionManager get(String database); @Override void close();  }
@Test public void shouldCreateEntityManager() { DocumentCollectionManager database = managerFactory.get("database"); assertNotNull(database); }