3 ms·
> “This implementation is difficult to unit test.” Horsepucky. No, this implementation is difficult to unit test. The rebuttal, “Just make a constructor […]” c
by chrisoverzero 4y ago
> “This implementation is difficult to unit test.” Horsepucky.
No, this implementation is difficult to unit test. The rebuttal, “Just make a constructor […]” changes the implementation. The author’s zeal to decry DI frameworks has made him forget for a moment that constructor injection looks the same whether a framework is involved or not.