ClassMatchers

Hamcrest Matcher implementations for Class es.

API

ClassMatchers.java
class ClassMatchers {
  Matcher<T> anInstanceOf(Class<T> expected)
  Matcher<Class<?>> classEqualTo(Class<?> operand)
  Matcher<Class<X>> anySubclassOf(Class<X> cls)
}