FreqMapConverter implements Converter { @Override public boolean canHandle(final Class clazz) { return FreqMap.class.equals(clazz); }  @Override boolean canHandle(final Class clazz); @Override DataType convertedType(); @Override scala.collection.mutable.Map<String, Long> convert(final Object object);  }
@Test public void testCanHandleFreqMap() { assertTrue(FREQ_MAP_CONVERTER.canHandle(FreqMap.class)); assertFalse(FREQ_MAP_CONVERTER.canHandle(String.class)); }