### Question:
DatabaseConnector extends StdCouchDbConnector { public boolean contains(String id) { return (id != null) && super.contains(id); } DatabaseConnector(HttpClient httpClient, String dbName);  DatabaseConnector(Supplier<HttpClient> httpClient, String dbName);  DatabaseConnector(HttpClient httpClient, String dbName, MapperFactory mapperFactory); private  DatabaseConnector(String dbName, DatabaseInstance instance, MapperFactory mapperFactory); Optional<Status> restrictAccessToAdmins(); boolean add(T document); T get(Class<T> type, String id); List<T> get(Class<T> type, Collection<String> ids, boolean ignoreNotFound); List<T> get(Class<T> type, Collection<String> ids); @Override void update(Object document); boolean contains(String id); boolean deleteById(String id); String getDbName(); DatabaseInstance getInstance(); List<DocumentOperationResult> deleteIds(Collection<String> ids, Class<T> type);  }### Answer:
@Test public void testSetUp() throws Exception { HttpClient httpClient = DatabaseTestProperties.getConfiguredHttpClient(); CouchDbInstance dbInstance = new StdCouchDbInstance(httpClient); CouchDbConnector db = new StdCouchDbConnector(COUCH_DB_DATABASE, dbInstance, factory); assertTrue(db.contains(id)); }