| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public SELF | hasSameSizeAs(Object
the array to compare size with actual group. other)Implements org. |
| public SELF | inBinary()
Overrides org. |
| public SELF | Returns: this assertion object.Overrides org. |
| AbstractEnumerableAssert | back to summary |
|---|---|
| protected AbstractEnumerableAssert(final ACTUAL actual, final Class<?> selfType) | |
| hasSameSizeAs | back to summary |
|---|---|
| public SELF hasSameSizeAs(Object other) Implements org. Doc from org. Verifies that the actual group has the same size as given array. Parameter is declared as Object to accept both Object[] and primitive arrays (e.g. int[]). Example:
Example with byte array:
| |
| inBinary | back to summary |
|---|---|
| public SELF inBinary() Overrides org. Doc from org. Use binary object representation instead of standard representation in error messages. Example:
| |
| inHexadecimal | back to summary |
|---|---|
| public SELF inHexadecimal() Overrides org. Enable hexadecimal object representation of Iterable elements instead of standard java representation in error messages. It can be useful to better understand what the error was with a more meaningful error message. Example
With standard error message:
With Hexadecimal error message:
| |