Class and Description |
---|
org.mockito.Matchers
Use
ArgumentMatchers . This class is now deprecated in order to avoid a name clash with Hamcrest
org.hamcrest.Matchers class. This class will likely be removed in version 3.0. |
Method and Description |
---|
org.mockito.ArgumentMatchers.anyVararg()
as of 2.0 use
ArgumentMatchers.any() |
org.mockito.Answers.get()
as of 2.0. Use the enum-constant directly, instead of this getter. This method will be removed in a future release
E.g. instead of Answers.CALLS_REAL_METHODS.get() use Answers.CALLS_REAL_METHODS . |
org.mockito.BDDMockito.BDDStubber.willNothing()
please use
BDDMockito.BDDStubber.willDoNothing() instead |