@Override
    public void register(URL url) {
        if (url == null) {
            throw new IllegalArgumentException("register url == null");
        }
        if (url.getPort() != 0) {
            if (logger.isInfoEnabled()) {
                logger.info("Register: " + url);
            }
        }
        registered.add(url);
    }
@Test
    void testRegisterIfURLNULL() {
        Assertions.assertThrows(IllegalArgumentException.class, () -> {
            abstractRegistry.register(null);
            Assertions.fail("register url == null");
        });
    }