@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        ServerConfigAbility that = (ServerConfigAbility) o;
        return supportRemoteMetrics == that.supportRemoteMetrics;
    }
@Test
    void testEquals() {
        ServerConfigAbility ability = new ServerConfigAbility();
        ability.setSupportRemoteMetrics(true);
        assertEquals(ability, ability);
        assertNotEquals(null, ability);
        assertNotEquals(ability, new ClientConfigAbility());
        ServerConfigAbility newOne = new ServerConfigAbility();
        assertNotEquals(ability, newOne);
        newOne.setSupportRemoteMetrics(true);
        assertEquals(ability, newOne);
    }