public class ObservableObjectValueAssert<T> extends AbstractAssert<ObservableObjectValueAssert<T>,ObservableObjectValue<T>>
ObservableObjectValues.
To create an instance of this class, invoke
.
Assertions.assertThat(ObservableObjectValue)
actual, info, myself| Modifier | Constructor and Description |
|---|---|
protected |
ObservableObjectValueAssert(ObservableObjectValue<T> actual) |
| Modifier and Type | Method and Description |
|---|---|
ObservableObjectValueAssert<T> |
hasNotNullValue()
Verifies that the actual observable has NOT a value of
null. |
ObservableObjectValueAssert<T> |
hasNullValue()
Verifies that the actual observable has a value of
null. |
ObservableObjectValueAssert<T> |
hasSameValue(ObservableObjectValue<T> expectedValue)
Verifies that the actual observable has the same value as the given observable.
|
ObservableObjectValueAssert<T> |
hasValue(T expectedValue)
Verifies that the actual observable has the expected value set.
|
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 ObservableObjectValueAssert(ObservableObjectValue<T> actual)
public ObservableObjectValueAssert<T> hasValue(T expectedValue)
expectedValue - the value to compare to the actual observables current value.this assertion instance.public ObservableObjectValueAssert<T> hasNullValue()
null.this assertion instance.public ObservableObjectValueAssert<T> hasNotNullValue()
null.this assertion instance.public ObservableObjectValueAssert<T> hasSameValue(ObservableObjectValue<T> expectedValue)
expectedValue - the observable value to compare with the actual observables current value.this assertion instance.