1   package com.lexicalscope.fluentreflection;
2   
3   import static com.lexicalscope.fluentreflection.FluentReflection.type;
4   import static org.junit.Assert.assertThat;
5   
6   import org.hamcrest.Matcher;
7   import org.junit.Test;
8   
9   public class TestConvertClassToReflectedTypeMatcher {
10      static class ExampleClass {
11  
12      }
13  
14      @Test
15      public void classConvertedToMatcherForReflectedType() throws Exception {
16          final Matcher<FluentClass<?>> matcherUnderTest =
17                  new ConvertClassToReflectedTypeMatcher().convert(ExampleClass.class);
18  
19          assertThat(type(ExampleClass.class), matcherUnderTest);
20      }
21  }