### Question:
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);  }### Answer:
@Test public void testDeserialize() { String tcpString = "{\"type\":\"TCP\"}"; AbstractHealthChecker actual = HealthCheckerFactory.deserialize(tcpString); assertEquals(Tcp.class, actual.getClass()); }
@Test public void testDeserializeExtend() { String tcpString = "{\"type\":\"TEST\",\"testValue\":null}"; AbstractHealthChecker actual = HealthCheckerFactory.deserialize(tcpString); assertEquals(TestChecker.class, actual.getClass()); }