overrideWith method
Overrides the logic component with a new factory. This can be useful for mocking purposes.
Implementation
BinderOverride<T> overrideWith(InstanceFactory<T> create) {
return BinderOverride<T>._(key, create);
}
Overrides the logic component with a new factory. This can be useful for mocking purposes.
BinderOverride<T> overrideWith(InstanceFactory<T> create) {
return BinderOverride<T>._(key, create);
}