CoreChecks<T> extension
Methods
-
anyOf(Iterable<Condition<T>> conditions)
→ void
-
Expects that the value satisfies the expectations invoked in at least one
condition from
conditions
.
-
equals(T other)
→ void
-
Expects that the value is equal to
other
according to operator ==.
-
has<R>(String name)
→ Subject<R>
-
Extracts a property of the value for further expectations.
-
identicalTo(T other)
→ void
-
Expects that the value is identical to
other
.
-
isA<R>()
→ Subject<R>
-
Expects that the value is assignable to type
T
.
-
not(Condition<T> condition)
→ void
-
Check that the expectations invoked in
condition
are not satisfied by
this value.
-
which(Condition<T> condition)
→ void
-
Applies the expectations invoked in
condition
to this subject.