public class ValidationMatcher
extends org.hamcrest.BaseMatcher
Constructor and Description |
---|
ValidationMatcher(Object... schemaSource) |
Modifier and Type | Method and Description |
---|---|
void |
describeMismatch(Object item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
matches(Object instance) |
static ValidationMatcher |
valid(Object schemaSource) |
public ValidationMatcher(Object... schemaSource)
public boolean matches(Object instance)
public void describeTo(org.hamcrest.Description description)
public void describeMismatch(Object item, org.hamcrest.Description mismatchDescription)
describeMismatch
in interface org.hamcrest.Matcher
describeMismatch
in class org.hamcrest.BaseMatcher
public static ValidationMatcher valid(Object schemaSource)
Copyright © 2001–2016 XMLUnit. All rights reserved.