withFactory<T> method
Adiciona uma factory ao template — reaplicada a cada setUp.
Implementation
ModularTestScope withFactory<T>(T Function() factory) {
return ModularTestScope._(
_template.withFactory<T>(factory),
_recorder,
);
}