public class ObjectBindingAssert<T> extends AbstractAssert<ObjectBindingAssert<T>,ObjectBinding<T>>
ObjectBindings.
To create an instance of this class, invoke
.
Assertions.assertThat(ObjectBinding)
actual, info, myself| Modifier | Constructor and Description |
|---|---|
protected |
ObjectBindingAssert(ObjectBinding<T> actual) |
| Modifier and Type | Method and Description |
|---|---|
ObjectBindingAssert<T> |
dependsOn(Observable observable)
Verifies that the actual Binding is bound and depends on the given Observable value.
|
ObjectBindingAssert<T> |
hasNotNullValue()
Verifies that the actual observable has NOT a value of
null. |
ObjectBindingAssert<T> |
hasNullValue()
Verifies that the actual observable has a value of
null. |
ObjectBindingAssert<T> |
hasSameValue(ObservableObjectValue<T> expectedValue)
Verifies that the actual observable has the same value as the given observable.
|
ObjectBindingAssert<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 ObjectBindingAssert(ObjectBinding<T> actual)
public ObjectBindingAssert<T> hasValue(T expectedValue)
expectedValue - the value to compare to the actual observables current value.this assertion instance.public ObjectBindingAssert<T> hasNullValue()
null.this assertion instance.public ObjectBindingAssert<T> hasNotNullValue()
null.this assertion instance.public ObjectBindingAssert<T> dependsOn(Observable observable)
observable - the observable that is expected to be a binding dependency of the actual binding.this assertion instancepublic ObjectBindingAssert<T> hasSameValue(ObservableObjectValue<T> expectedValue)
expectedValue - the observable value to compare with the actual observables current value.this assertion instance.