| Modifier and Type | Method and Description |
|---|---|
| public SELF | Returns: this assertion object.the expected number of values in first dimension of the actual array. expectedFirstDimension, int the expected number of values in second dimension of the actual array. expectedSecondDimension)Verifies that the actual 2D array has the given dimensions. |
| public SELF | Returns: this assertion object.the expected number of rows of the two-dimensional array. expected)Verifies that the actual two-dimensional array has the given number of rows. |
| public SELF | Returns: this assertion object.the array to compare dimensions with actual array. array)Verifies that the actual array has the same dimensions as the given array. |
| public void | isEmpty()
Verifies that the actual array is empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. |
| public SELF | Returns: this assertion object.Verifies that the actual array is not empty, not empty means the array has at least one element. |
| public void | isNullOrEmpty()
Verifies that the actual array is |
| hasDimensions | back to summary |
|---|---|
| public SELF hasDimensions(int expectedFirstDimension, int expectedSecondDimension) Verifies that the actual 2D array has the given dimensions. Example:
| |
| hasNumberOfRows | back to summary |
|---|---|
| public SELF hasNumberOfRows(int expected) Verifies that the actual two-dimensional array has the given number of rows. Example:
| |
| hasSameDimensionsAs | back to summary |
|---|---|
| public SELF hasSameDimensionsAs(Object array) Verifies that the actual array has the same dimensions as the given array. Parameter is declared as Object to accept both Object[] and primitive arrays (e.g. int[]). Example:
| |
| isEmpty | back to summary |
|---|---|
| public void isEmpty() Verifies that the actual array is empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. Example:
| |
| isNotEmpty | back to summary |
|---|---|
| public SELF isNotEmpty() Verifies that the actual array is not empty, not empty means the array has at least one element. Example:
| |
| isNullOrEmpty | back to summary |
|---|---|
| public void isNullOrEmpty() Verifies that the actual array is Example:
| |