T
- Type of item.public final class HasValues<T> extends org.hamcrest.TypeSafeDiagnosingMatcher<Arg<Collection<T>>>
Arg
.Constructor and Description |
---|
HasValues(Collection<T> expected)
Ctor.
|
HasValues(T... expected)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description dsc) |
protected boolean |
matchesSafely(Arg<Collection<T>> item,
org.hamcrest.Description dsc) |
public HasValues(T... expected)
expected
- Value within unit test.public HasValues(Collection<T> expected)
expected
- Value within unit test.public void describeTo(org.hamcrest.Description dsc)
protected boolean matchesSafely(Arg<Collection<T>> item, org.hamcrest.Description dsc)
matchesSafely
in class org.hamcrest.TypeSafeDiagnosingMatcher<Arg<Collection<T>>>
Copyright © 2019. All rights reserved.