@Test
  public void testSystemSerialize() throws Exception {
    SystemTableHandle internalHandle =
        new SystemTableHandle(CONNECTOR_ID, "system_schema", "system_table");

    assertTrue(objectMapper.canSerialize(SystemTableHandle.class));
    String json = objectMapper.writeValueAsString(internalHandle);
    testJsonEquals(json, SCHEMA_AS_MAP);
  }
 public void testSupport() {
   assertTrue(MAPPER.canSerialize(String.class));
   assertTrue(MAPPER.canDeserialize(TypeFactory.defaultInstance().constructType(String.class)));
 }
 // For [databind#703]
 public void testNonSerializabilityOfObject() {
   ObjectMapper m = new ObjectMapper();
   assertFalse(m.canSerialize(Object.class));
   // but this used to pass, incorrectly
   assertFalse(m.canSerialize(Object.class));
 }