Coverage Report - com.lexicalscope.fluentreflection.MatcherIsInterface
 
Classes in this File Line Coverage Branch Coverage Complexity
MatcherIsInterface
100%
5/5
N/A
1
 
 1  64
 /**
 2  
  * 
 3  
  */
 4  
 package com.lexicalscope.fluentreflection;
 5  
 
 6  
 import org.hamcrest.Description;
 7  
 
 8  
 
 9  64
 final class MatcherIsInterface extends ReflectionMatcher<FluentClass<?>> {
 10  
     @Override
 11  
     public boolean matchesSafely(final FluentClass<?> arg) {
 12  64
         return arg.isInterface();
 13  
     }
 14  
 
 15  
     @Override
 16  
     public void describeTo(final Description description) {
 17  8
         description.appendText("type that is an interface");
 18  8
     }
 19  
 }