X - Type of item.M - Type of tested matcher.public final class Matches<X,M extends org.hamcrest.Matcher<X>>
extends org.hamcrest.TypeSafeDiagnosingMatcher<M>
Matcher objects.
Here is an example:
{@code| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description desc) |
protected boolean |
matchesSafely(M matcher,
org.hamcrest.Description dsc) |
public Matches(X args)
args - The testing arguments for the matcher.Copyright © 2017–2019 jcabi.com. All rights reserved.