@Override
    protected CouchbaseEndpoint createEndpoint(String uri, String remaining, Map<String, Object> parameters) throws Exception {
        CouchbaseEndpoint endpoint = new CouchbaseEndpoint(uri, remaining, this);
        setProperties(endpoint, parameters);
        return endpoint;
    }
@Test
    public void testEndpointCreated() throws Exception {
        Map<String, Object> params = new HashMap<>();
        params.put("bucket", "bucket");

        String uri = "couchbase:http://localhost:9191?bucket=bucket";
        String remaining = "http://localhost:9191";

        CouchbaseEndpoint endpoint = component.createEndpoint(uri, remaining, params);
        assertNotNull(endpoint);
    }