T
- Type of the underlying state value.public class StateValueAssert<T>
extends <any>
StateValue
.
To create an instance of this class, invoke
.
assertThat(StateValue)
Alternatively, use LegacyLithoAssertions
which provides entry points to all Litho
AssertJ helpers.
Modifier and Type | Method and Description |
---|---|
static <T> StateValueAssert<T> |
assertThat(StateValue<T> actual) |
StateValueAssert<T> |
valueEqualTo(T value)
Equivalent to calling
assertThat(value.get()).isEqualTo(value) . |
public static <T> StateValueAssert<T> assertThat(StateValue<T> actual)
public StateValueAssert<T> valueEqualTo(T value)
assertThat(value.get()).isEqualTo(value)
.