@Test(expected = AssertionError.class) public void canBeCombinedWithFailingMatcher() { assertThat("not empty", both(isEmptyString()) .and(valid(new StreamSource(new File(TestResources.BOOK_XSD))))); }
@Factory public static ValidationMatcher valid(final Object schemaSource) { return new ValidationMatcher(schemaSource); }
ValidationMatcher extends BaseMatcher { @Factory public static ValidationMatcher valid(final Object schemaSource) { return new ValidationMatcher(schemaSource); } }
ValidationMatcher extends BaseMatcher { @Factory public static ValidationMatcher valid(final Object schemaSource) { return new ValidationMatcher(schemaSource); } ValidationMatcher(Object... schemaSource);  ValidationMatcher(Schema schema); }
ValidationMatcher extends BaseMatcher { @Factory public static ValidationMatcher valid(final Object schemaSource) { return new ValidationMatcher(schemaSource); } ValidationMatcher(Object... schemaSource);  ValidationMatcher(Schema schema); @Override boolean matches(Object instance); @Override void describeTo(Description description); @Override void describeMismatch(final Object item, final Description mismatchDescription); @Factory static ValidationMatcher valid(final Object schemaSource); @Factory static ValidationMatcher valid(final Schema schema); }
ValidationMatcher extends BaseMatcher { @Factory public static ValidationMatcher valid(final Object schemaSource) { return new ValidationMatcher(schemaSource); } ValidationMatcher(Object... schemaSource);  ValidationMatcher(Schema schema); @Override boolean matches(Object instance); @Override void describeTo(Description description); @Override void describeMismatch(final Object item, final Description mismatchDescription); @Factory static ValidationMatcher valid(final Object schemaSource); @Factory static ValidationMatcher valid(final Schema schema);  }