Rewire - elegant dependency injection

It should work just fine if you will mock module that is defined as comp-time config.