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.anyCollectionOf(Class With Java 8 this method will be removed in Mockito 3.0. This method is only used for generic
friendliness to avoid casting, this is not anymore needed in Java 8.
|
org.mockito.ArgumentMatchers.anyIterableOf(Class With Java 8 this method will be removed in Mockito 3.0. This method is only used for generic
friendliness to avoid casting, this is not anymore needed in Java 8.
|
org.mockito.ArgumentMatchers.anyListOf(Class With Java 8 this method will be removed in Mockito 3.0. This method is only used for generic
friendliness to avoid casting, this is not anymore needed in Java 8.
|
org.mockito.ArgumentMatchers.anyMapOf(Class With Java 8 this method will be removed in Mockito 3.0. This method is only used for generic
friendliness to avoid casting, this is not anymore needed in Java 8.
|
org.mockito.ArgumentMatchers.anyObject()
This will be removed in Mockito 3.0 (which will be java 8 only)
|
org.mockito.ArgumentMatchers.anySetOf(Class With Java 8 this method will be removed in Mockito 3.0. This method is only used for generic
friendliness to avoid casting, this is not anymore needed in Java 8.
|
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.ArgumentMatchers.isNotNull(Class With Java 8 this method will be removed in Mockito 3.0. This method is only used for generic
friendliness to avoid casting, this is not anymore needed in Java 8.
|
org.mockito.ArgumentMatchers.isNull(Class With Java 8 this method will be removed in Mockito 3.0. This method is only used for generic
friendliness to avoid casting, this is not anymore needed in Java 8.
|
org.mockito.ArgumentMatchers.notNull(Class With Java 8 this method will be removed in Mockito 3.0. This method is only used for generic
friendliness to avoid casting, this is not anymore needed in Java 8.
|
org.mockito.BDDMockito.BDDStubber.willNothing()
please use
BDDMockito.BDDStubber.willDoNothing() instead |