@Test public void testDeserializeExtend() { String tcpString = "{\"type\":\"TEST\",\"testValue\":null}"; AbstractHealthChecker actual = HealthCheckerFactory.deserialize(tcpString); assertEquals(TestChecker.class, actual.getClass()); }
public static AbstractHealthChecker deserialize(String jsonString) { try { return MAPPER.readValue(jsonString, AbstractHealthChecker.class); } catch (IOException e) { throw new NacosDeserializationException(AbstractHealthChecker.class, e); } }
HealthCheckerFactory { public static AbstractHealthChecker deserialize(String jsonString) { try { return MAPPER.readValue(jsonString, AbstractHealthChecker.class); } catch (IOException e) { throw new NacosDeserializationException(AbstractHealthChecker.class, e); } } }
HealthCheckerFactory { public static AbstractHealthChecker deserialize(String jsonString) { try { return MAPPER.readValue(jsonString, AbstractHealthChecker.class); } catch (IOException e) { throw new NacosDeserializationException(AbstractHealthChecker.class, e); } }  }
HealthCheckerFactory { public static AbstractHealthChecker deserialize(String jsonString) { try { return MAPPER.readValue(jsonString, AbstractHealthChecker.class); } catch (IOException e) { throw new NacosDeserializationException(AbstractHealthChecker.class, e); } }  static void registerSubType(AbstractHealthChecker extendHealthChecker); static void registerSubType(Class<? extends AbstractHealthChecker> extendHealthCheckerClass,
            String typeName); static None createNoneHealthChecker(); static AbstractHealthChecker deserialize(String jsonString); static String serialize(AbstractHealthChecker healthChecker); }
HealthCheckerFactory { public static AbstractHealthChecker deserialize(String jsonString) { try { return MAPPER.readValue(jsonString, AbstractHealthChecker.class); } catch (IOException e) { throw new NacosDeserializationException(AbstractHealthChecker.class, e); } }  static void registerSubType(AbstractHealthChecker extendHealthChecker); static void registerSubType(Class<? extends AbstractHealthChecker> extendHealthCheckerClass,
            String typeName); static None createNoneHealthChecker(); static AbstractHealthChecker deserialize(String jsonString); static String serialize(AbstractHealthChecker healthChecker);  }