### Question:
CouchDbRepositorySupport implements GenericRepository<T> { public T get(String id) { return db.get(type, id); } protected  CouchDbRepositorySupport(Class<T> type, CouchDbConnector db); protected  CouchDbRepositorySupport(Class<T> type, CouchDbConnector db, boolean createIfNotExists); protected  CouchDbRepositorySupport(Class<T> type, CouchDbConnector db, String designDocName); protected  CouchDbRepositorySupport(Class<T> type, CouchDbConnector db, String designDocName, boolean createIfNotExists); void add(T entity); List<T> getAll(); T get(String id); T get(String id, Options options); T get(String id, String rev); void remove(T entity); void update(T entity); void initStandardDesignDocument(); boolean contains(String docId); void setDesignDocumentFactory(
			DesignDocumentFactory df); static final String AUTO_UPDATE_VIEW_ON_CHANGE; }### Answer:
@Test public void get_should_load_doc_from_db() { doReturn(new TestDoc("docid", "f")).when(db).get(TestDoc.class, "docid"); TestDoc td = repo.get("docid"); assertNotNull(td); }