TableDataConverter implements Converter { @Override public boolean canConvert(@SuppressWarnings("rawtypes") Class type) { return TableData.class.isAssignableFrom(type); }  @Override boolean canConvert(@SuppressWarnings("rawtypes") Class type); @Override void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context); @Override Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context);  }
@Test public void testCanConvert() { assertTrue(this.converter.canConvert(TableData.class)); assertFalse(this.converter.canConvert(String.class)); }