@Override
    protected CouchDbEndpoint createEndpoint(String uri, String remaining, Map<String, Object> params) throws Exception {
        CouchDbEndpoint endpoint = new CouchDbEndpoint(uri, remaining, this);
        setProperties(endpoint, params);
        return endpoint;
    }
@Test
    void testEndpointCreated() throws Exception {
        Map<String, Object> params = new HashMap<>();

        String uri = "couchdb:http://localhost:5984/db";
        String remaining = "http://localhost:5984/db";

        CouchDbEndpoint endpoint
                = context.getComponent("couchdb", CouchDbComponent.class).createEndpoint(uri, remaining, params);
        assertNotNull(endpoint);
    }