Can I mock a super class method call?

后端 未结 6 1349
旧巷少年郎
旧巷少年郎 2021-02-12 22:11

Sometimes, you want to test a class method and you want to do an expectation on a call of a super class method. I did not found a way to do this expectation in java using easymo

6条回答
  •  灰色年华
    2021-02-12 22:41

    intercepting a super call is much too fine-grained. Don't overdo the isolation.

提交回复
热议问题