| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static <K, V> Matcher | aMapWithSize(Matcher<? super Integer>
a matcher for the size of an examined sizeMatcher)java.Creates a matcher for |
| public static <K, V> Matcher | aMapWithSize(int
the expected size of an examined size)java.Creates a matcher for |
| public static <K, V> Matcher | |
| protected Integer | featureValueOf(Map<? extends K, ? extends V>
the target object actual)Implements abstract org. |
| IsMapWithSize | back to summary |
|---|---|
public IsMapWithSize(Matcher<? super Integer> sizeMatcher)
| |
| aMapWithSize | back to summary |
|---|---|
| public static <K, V> Matcher Creates a matcher for assertThat(myMap, is(aMapWithSize(equalTo(2))))
| |
| aMapWithSize | back to summary |
|---|---|
| public static <K, V> Matcher Creates a matcher for assertThat(myMap, is(aMapWithSize(2)))
| |
| anEmptyMap | back to summary |
|---|---|
| public static <K, V> Matcher Creates a matcher for assertThat(myMap, is(anEmptyMap())) | |
| featureValueOf | back to summary |
|---|---|
| protected Integer featureValueOf(Map<? extends K, ? extends V> actual) Implements abstract org. Doc from org. Implement this to extract the interesting feature. | |