@Test public void shouldFailOnBrokenInstance() { assertThat(new StreamSource(new File(TEST_RESOURCE_DIR + "invalidBook.xml")), is(not(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);  }