Mockito provides the capability to a reset a mock so that it can be reused later. Take a look at the following code snippet. //reset mock reset(calcService);.
確定! 回上一頁