public static String serialize(AbstractHealthChecker healthChecker) {
        try {
            return MAPPER.writeValueAsString(healthChecker);
        } catch (JsonProcessingException e) {
            throw new NacosSerializationException(healthChecker.getClass(), e);
        }
    }
@Test
    void testSerializeFailure() {
        assertThrows(NacosSerializationException.class, () -> {
            SelfDependHealthChecker selfDependHealthChecker = new SelfDependHealthChecker();
            System.out.println(HealthCheckerFactory.serialize(selfDependHealthChecker));
        });
    }