scap
02/13/2018, 9:07 PMdalexander
02/14/2018, 1:06 PMobject
as part of the definition. If you’re using singletons you have more limited dependency injection options. Probably something like a service locator pattern is what you’re looking for (and change what the locator returns during tests).mrtact
02/19/2018, 10:06 PM