IsEmptyGuavaOptional extends TypeSafeMatcher<Optional> { @Override public void describeTo(final Description description) { description.appendText("an optional with no content"); }  static Matcher<Optional> emptyGuavaOptional(); @Override void describeTo(final Description description);  }
@Test public void testDescribeTo() throws Exception { BaseMatcherTest.assertIsDescribedTo("an optional with no content", isEmptyGuavaOptionalMatcher); }