ZenithTestContainerBuilder class
Builds a ZenithContainer with typed dependency overrides for tests.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
{ZenithContainer? parent}) → ZenithContainer - Creates the configured test container.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
override<
T> (ZenithKey< T> key, T factory(ZenithRef ref)) → ZenithTestContainerBuilder -
Overrides
keywithfactoryin the built test container. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited