You could for example just mock one instance of yo...
# koin
v
You could for example just mock one instance of your class and use the mocked instance inside the factory closure instead of the constructor