IsValidNoArgumentConstructor extends TypeSafeMatcher<Class> { @Override public void describeTo(final Description description) { description.appendText("a Class with valid no-argument constructor"); } private  IsValidNoArgumentConstructor(); static Matcher<Class> hasNoArgumentConstructor(); @Override void describeTo(final Description description);  }
@Test public void testDescribeTo() throws Exception { assertIsDescribedTo("a Class with valid no-argument constructor", isValidNoArgumentConstructorMatcher); }