T - type to matchpublic class DifferentiatingMatcherWrapper<T> extends org.hamcrest.TypeSafeMatcher<T> implements DifferentiatingMatcher<T>
Matcher.| Modifier and Type | Method and Description |
|---|---|
void |
add(Difference difference)
add.
|
void |
describeMismatchSafely(T actual,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
void |
forEach(Consumer<? super Difference> action) |
MutableDifferences |
getDifferences()
Getter for the field
differences. |
String |
getKey() |
Iterator<Difference> |
iterator() |
boolean |
matchesSafely(T actual) |
void |
prepend(Difference difference)
prepend.
|
Spliterator<Difference> |
spliterator() |
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toStringpublic void add(Difference difference)
add.
add in interface DifferentiatingMatcher<T>difference - a Difference object.public void describeMismatchSafely(T actual, org.hamcrest.Description mismatchDescription)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<T>public void describeTo(org.hamcrest.Description description)
describeTo in interface org.hamcrest.SelfDescribingpublic void forEach(Consumer<? super Difference> action)
forEach in interface Iterable<Difference>public MutableDifferences getDifferences()
Getter for the field differences.
MutableDifferences object.public String getKey()
getKey in interface Differencespublic Iterator<Difference> iterator()
iterator in interface Iterable<Difference>public boolean matchesSafely(T actual)
matchesSafely in class org.hamcrest.TypeSafeMatcher<T>public void prepend(Difference difference)
prepend.
prepend in interface DifferentiatingMatcher<T>difference - a Difference object.public Spliterator<Difference> spliterator()
spliterator in interface Iterable<Difference>Copyright © 2017–2022 wcm.io QA. All rights reserved.