MockedServiceLocator http://solidpatterns.net/service-locator-is-not-an-anti-pattern-and-is-not-an-enemy-of-unit-testing/