@Test public void convert_shouldConvertClass() { Assert.assertThat(converter.convert(null), is("")); Assert.assertThat(converter.convert(this.getClass()), is("org.openmrs.module.kenyaemr.converter.ClassToStringConverterTest")); }
@Override public String convert(Class clazz) { return clazz != null ? clazz.getCanonicalName() : ""; }
ClassToStringConverter implements Converter<Class, String> { @Override public String convert(Class clazz) { return clazz != null ? clazz.getCanonicalName() : ""; } }
ClassToStringConverter implements Converter<Class, String> { @Override public String convert(Class clazz) { return clazz != null ? clazz.getCanonicalName() : ""; }  }
ClassToStringConverter implements Converter<Class, String> { @Override public String convert(Class clazz) { return clazz != null ? clazz.getCanonicalName() : ""; }  @Override String convert(Class clazz); }
ClassToStringConverter implements Converter<Class, String> { @Override public String convert(Class clazz) { return clazz != null ? clazz.getCanonicalName() : ""; }  @Override String convert(Class clazz);  }