CouchbaseDocumentConfiguration extends CouchbaseConfiguration implements DocumentConfiguration { @Override public CouhbaseDocumentCollectionManagerFactory get() throws UnsupportedOperationException { return new CouhbaseDocumentCollectionManagerFactory(CouchbaseCluster.create(nodes), user, password); }  @Override CouhbaseDocumentCollectionManagerFactory get(); @Override CouhbaseDocumentCollectionManagerFactory get(Settings settings);  }
@Test public void shouldCreateDocumentCollectionManagerFactoryByMap() { CouchbaseDocumentConfiguration configuration = new CouchbaseDocumentConfiguration(); DocumentCollectionManagerFactory managerFactory = configuration.get(); assertNotNull(managerFactory); }
@Test public void shouldCreateDocumentCollectionManagerFactoryByFile() { CouchbaseDocumentConfiguration configuration = new CouchbaseDocumentConfiguration(); DocumentCollectionManagerFactory managerFactory = configuration.get(); assertNotNull(managerFactory); }