ConverterClassMetadata extends ClassMetadata { public boolean isDefault() { return getClassName().equals(DEFAULT_CLASS); } ConverterClassMetadata(@Nonnull TypeElement element); boolean isDefault(); @Nonnull TypeName getSupportedType(); @Nonnull TypeName getConvertedType();  }
@Test public void constructorWithDefaultConverter() throws Exception { final TypeElement element = elements.getTypeElement(Converter.class.getCanonicalName()); final ConverterClassMetadata actual = new ConverterClassMetadata(element); assertThat(actual) .isDefault() .isSupportedType(TypeName.VOID) .isConvertedType(TypeName.VOID); }