How do i solve explicit dependencies problem in this code example?

前端 未结 0 975
孤城傲影
孤城傲影 2021-01-21 01:26

I have the below implementation. It is apparent that the Foo class instantiates explicit dependencies which could be an anti pattern and hard to unit test but how d

相关标签:
回答
  • 消灭零回复
提交回复
热议问题