@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 testCouchbaseNullAdditionalHosts() throws Exception {
        Map<String, Object> params = new HashMap<>();
        params.put("additionalHosts", null);
        params.put("bucket", "bucket");
        String uri = "couchbase:http://localhost";
        String remaining = "http://localhost";

        CouchbaseEndpoint endpoint = new CouchbaseComponent(context).createEndpoint(uri, remaining, params);

        URI[] endpointArray = endpoint.makeBootstrapURI();

        assertEquals(1, endpointArray.length);
    }