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