Package | Description |
---|---|
org.mockito |
Mockito is a mock library for java - see
Mockito class for usage. |
Modifier and Type | Method and Description |
---|---|
static <T> MockedStatic<T> |
Mockito.mockStatic(Class<T> classToMock)
Creates a thread-local mock controller for all static methods of the given class or interface.
|
static <T> MockedStatic<T> |
Mockito.mockStatic(Class<T> classToMock,
Answer defaultAnswer)
Creates a thread-local mock controller for all static methods of the given class or interface.
|
static <T> MockedStatic<T> |
Mockito.mockStatic(Class<T> classToMock,
MockSettings mockSettings)
Creates a thread-local mock controller for all static methods of the given class or interface.
|
static <T> MockedStatic<T> |
Mockito.mockStatic(Class<T> classToMock,
String name)
Creates a thread-local mock controller for all static methods of the given class or interface.
|