Booleans.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public SELF | Returns: this assertion object.the given value to compare the actual value to. expected)Verifies that the actual value is equal to the given one. |
| public SELF | |
| public SELF | Returns: this assertion object.the given value to compare the actual value to. other)Verifies that the actual value is not equal to the given one. |
| public SELF | |
| public final SELF | usingComparator(Comparator<? super Boolean>
the comparator to use for the incoming assertion checks. customComparator)Overrides org. Implements org.
Deprecated
Custom Comparator is not supported for Boolean comparison.
Do not use this method.
|
| public final SELF | usingComparator(Comparator<? super Boolean>
the comparator to use for the incoming assertion checks. customComparator, String comparator description to be used in assertion error messages customComparatorDescription)Overrides org. Implements org.
Deprecated
Custom Comparator is not supported for Boolean comparison.
Do not use this method.
|
| AbstractBooleanAssert | back to summary |
|---|---|
| protected AbstractBooleanAssert(Boolean actual, Class<?> selfType) | |
| isEqualTo | back to summary |
|---|---|
| public SELF isEqualTo(boolean expected) Verifies that the actual value is equal to the given one. Example:
| |
| isFalse | back to summary |
|---|---|
| public SELF isFalse() Verifies that the actual value is Example:
| |
| isNotEqualTo | back to summary |
|---|---|
| public SELF isNotEqualTo(boolean other) Verifies that the actual value is not equal to the given one. Example:
| |
| isTrue | back to summary |
|---|---|
| public SELF isTrue() Verifies that the actual value is Example:
| |
| usingComparator | back to summary |
|---|---|
| public final SELF usingComparator(Comparator<? super Boolean> customComparator) Overrides org. Implements org. Deprecated Custom Comparator is not supported for Boolean comparison. Do not use this method.
| |
| usingComparator | back to summary |
|---|---|
| public final SELF usingComparator(Comparator<? super Boolean> customComparator, String customComparatorDescription) Overrides org. Implements org. Deprecated Custom Comparator is not supported for Boolean comparison. Do not use this method.
| |