1 package com.lexicalscope.fluentreflection; 2 3 import static com.lexicalscope.fluentreflection.FluentReflection.type; 4 import static org.hamcrest.Matchers.equalTo; 5 import static org.junit.Assert.assertThat; 6 7 import org.junit.Test; 8 9 public class TestConvertReflectedType2Class { 10 static class ExampleClass { 11 } 12 13 @Test 14 public void classIsConvertedToReflectedType() { 15 assertThat( 16 new ConvertReflectedTypeToClass().convert(type(ExampleClass.class)), 17 equalTo((Object) ExampleClass.class)); 18 } 19 }