Added the ability to inject mocks into the DI framework