raulraja
11/21/2018, 6:38 PMConfig
as a requirement for the system to get it's dependencies. It also allows swapping of implementations for production/tests and testing of all the functions in isolation without the need to Mock. Simply constructing instances as you need them tested.