Comment Comment by myshkin5 If are doing this to ease DI and mocking, just use a mocking library that supports function mocks:https://moqueries.org/ parent myshkin5 1 year ago
https://moqueries.org/