Test if private method raises an exception

后端 未结 0 1267
栀梦
栀梦 2021-02-11 16:35

I\'ve read some threads that state we shouldn\'t test private methods (even if I don\'t fully understand why).

I have a class that I\'d like to test:

CLASS

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