@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof ServerNamingAbility)) {
            return false;
        }
        ServerNamingAbility that = (ServerNamingAbility) o;
        return supportJraft == that.supportJraft;
    }
@Test
    void testEquals() throws JsonProcessingException {
        ServerNamingAbility expected = new ServerNamingAbility();
        expected.setSupportJraft(true);
        String serializeJson = jacksonMapper.writeValueAsString(expected);
        ServerNamingAbility actual = jacksonMapper.readValue(serializeJson, ServerNamingAbility.class);
        assertEquals(expected, actual);
        actual = new ServerNamingAbility();
        assertNotEquals(expected, actual);
        actual.setSupportJraft(true);
        assertEquals(expected, actual);
    }