@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        NacosACMConfig that = (NacosACMConfig) o;
        return enabled == that.enabled
                && Objects.equals(endpoint, that.endpoint)
                && Objects.equals(namespace, that.namespace)
                && Objects.equals(accessKey, that.accessKey)
                && Objects.equals(secretKey, that.secretKey);
    }
@Test
    public void testEquals() {
        assertEquals(nacosACMConfig, nacosACMConfig);
        assertEquals(nacosACMConfig, that);
        assertNotEquals(null, nacosACMConfig);
        assertNotEquals(nacosACMConfig, new Object());
    }