1   package com.lexicalscope.fluentreflection;
2   
3   import static com.lexicalscope.fluentreflection.ReflectionMatchers.reflectingOn;
4   import static org.hamcrest.MatcherAssert.assertThat;
5   
6   import org.junit.Test;
7   
8   public class TestConvertClassToReflectedType {
9       static class ExampleClass {
10      }
11  
12      @Test
13      public void classCanBeConvertedToReflectedType() throws Exception {
14          assertThat(
15                  new ConvertClassToReflectedType(new ReflectedTypeFactoryImpl()).convert(ExampleClass.class),
16                  reflectingOn(ExampleClass.class));
17      }
18  }