阅读背景:

在Mockito中多次使用相同的ArgumentMatchers

来源:互联网 

I've been learning about tests lately but this is the first test were I've had to pass a variable in a function that I'm mocking. I've written a similar test were the only difference is that i use an ArgumentMatcher in this test because the testInput.validate() needs 3 Strings to pass with it. I don't know this stuff very well so I'm sorry if the terminology is off.I've been learning about tests lately but this




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: