public class IntegerPropertyAssert extends AbstractAssert<IntegerPropertyAssert,IntegerProperty>
IntegerPropertys.
To create an instance of this class, invoke
.
Assertions.assertThat(IntegerProperty)
actual, info, myself| Modifier | Constructor and Description |
|---|---|
protected |
IntegerPropertyAssert(IntegerProperty actual) |
| Modifier and Type | Method and Description |
|---|---|
IntegerPropertyAssert |
hasSameValue(ObservableNumberValue expectedValue)
Verifies that the actual observable has the same value as the given observable.
|
IntegerPropertyAssert |
hasValue(int expectedValue)
Verifies that the actual observable has the expected value set.
|
IntegerPropertyAssert |
isBound()
Verifies that the actual observable is bound by another observable.
|
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparatorprotected IntegerPropertyAssert(IntegerProperty actual)
public IntegerPropertyAssert hasValue(int expectedValue)
expectedValue - the value to compare to the actual observables current value.this assertion instance.public IntegerPropertyAssert isBound()
this assertion instance.public IntegerPropertyAssert hasSameValue(ObservableNumberValue expectedValue)
expectedValue - the observable value to compare with the actual observables current value.this assertion instance.