@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        NacosConfig that = (NacosConfig) o;
        return Objects.equals(url, that.url)
                && Objects.equals(namespace, that.namespace)
                && Objects.equals(username, that.username)
                && Objects.equals(password, that.password)
                && Objects.equals(acm, that.acm);
    }
@Test
    public void testEquals() {
        assertEquals(nacosConfig, nacosConfig);
        assertEquals(nacosConfig, that);
        assertNotEquals(null, nacosConfig);
        assertNotEquals(nacosConfig, new Object());
    }