public int getPort() {
        return port;
    }
@Test
    void testDefaultPortIsSet() throws Exception {
        try (CouchDbEndpoint endpoint
                = new CouchDbEndpoint("couchdb:http://localhost/db", "http://localhost/db", new CouchDbComponent())) {
            assertEquals(CouchDbEndpoint.DEFAULT_PORT, endpoint.getPort());
        }
    }