### Question:
CouchDBStorageProvider implements StorageProvider { @Override public Storage storage(Thread thread) throws StorageBackendException { return new CouchDBStorage(emf.createEntityManager()); } CouchDBStorageProvider(); @Override boolean isSupported(String uri); @Override Storage storage(Thread thread);  }### Answer:
@Test public void testStoreArticle() { CouchDBArticle art = new CouchDBArticle(); art.fillWithRandom(); try { CouchDBStorage storage = (CouchDBStorage)subject.storage(null); storage.addArticle(art); } catch (StorageBackendException ex) { fail(ex.getLocalizedMessage()); } }