UnitTestThen<T> class

You can use this class directly and then author your own extensions to it for your specific behaviors or you can extend this class and provide any dependencies you require. See example_unit_test_support.dart for a complete example

Implementers

Constructors

UnitTestThen(T harness)
Creates the UnitTestThen, which makes the T available to make assertions against in tests.

Properties

harness → T
An instance of the T that is used for making assertions about the code under test.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited