| Modifier and Type | Field and Description |
|---|---|
| private final int | size
The expected size of the matched collection. |
| Access | Constructor and Description |
|---|---|
| public | CollectionSizeMatcher(int
The expected size of the matched collection. size)Creates a new matcher that matches the size of a matched collection. |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | doMatch(T
The instance to be matched. target)Implements abstract org. null.
|
| public String |
| size | back to summary |
|---|---|
| private final int size The expected size of the matched collection. | |
| CollectionSizeMatcher | back to summary |
|---|---|
| public CollectionSizeMatcher(int size) Creates a new matcher that matches the size of a matched collection.
| |
| doMatch | back to summary |
|---|---|
| protected boolean doMatch(T target) Implements abstract org. Doc from org. Matches the supplied value if it was found not to be
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |