ConvertClassToReflectedType implements Converter<Class<?>, FluentClass<?>> { @Override public FluentClass<?> convert(final Class<?> from) { return reflectedTypeFactory.reflect(from); } ConvertClassToReflectedType(final ReflectedTypeFactory reflectedTypeFactory); @Override FluentClass<?> convert(final Class<?> from);  }
@Test public void classCanBeConvertedToReflectedType() throws Exception { assertThat( new ConvertClassToReflectedType(new ReflectedTypeFactoryImpl()).convert(ExampleClass.class), reflectingOn(ExampleClass.class)); }