This is an old example that isn't really relevant anymore.

I think ``patch_injection_provider`` itself should be deprecated, because what it attempts to provide (at least in that old example) is now done better by the ``instance_factory`` utility