| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Integer | featureValueOf(Iterable<E>
the target object actual)Implements abstract org. |
| public static <E> Matcher | |
| public static <E> Matcher | iterableWithSize(int
the number of items that should be yielded by an examined size)IterableCreates a matcher for |
| IsIterableWithSize | back to summary |
|---|---|
| public IsIterableWithSize(Matcher<? super Integer> sizeMatcher) | |
| featureValueOf | back to summary |
|---|---|
| protected Integer featureValueOf(Iterable<E> actual) Implements abstract org. Doc from org. Implement this to extract the interesting feature. | |
| iterableWithSize | back to summary |
|---|---|
| public static <E> Matcher Creates a matcher for For example: assertThat(Arrays.asList("foo", "bar"), iterableWithSize(equalTo(2)))
| |
| iterableWithSize | back to summary |
|---|---|
| public static <E> Matcher Creates a matcher for For example: assertThat(Arrays.asList("foo", "bar"), iterableWithSize(2))
| |