withLazySingleton<T> method
Adiciona um lazy singleton ao template — reaplicado a cada setUp.
Implementation
ModularTestScope withLazySingleton<T>(T Function() factory) {
return ModularTestScope._(
_template.withLazySingleton<T>(factory),
_recorder,
);
}