NonNullableObjectExpector<T extends Object> extension
Expectations for non nullable objects.
- on
-
- Expector<
T>
- Expector<
Methods
-
hasRuntimeType(
Type type) → void -
Checks that the tested object has a runtime type of
type
. -
isA<
R> () → Expector< R> -
Checks that the tested object has
R
. -
isIdenticalTo(
T other) → void -
Checks that the tested object is identical to
other
. -
satisfies(
bool f(T), [String description = 'satisfies function']) → void -
Checks that the tested object satifies a predicate
f
.