Uses of Interface
org.mockito.MockedStatic
Packages that use MockedStatic
Package
Description
Mockito is a mock library for java - see
Mockito
class for usage.Internal classes, not to be used by clients.
-
Uses of MockedStatic in org.mockito
Methods in org.mockito that return MockedStaticModifier and TypeMethodDescriptionstatic <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, String name) 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, Answer defaultAnswer) Creates a thread-local mock controller for all static methods of the given class or interface.Methods in org.mockito with parameters of type MockedStaticModifier and TypeMethodDescriptiondefault void
InOrder.verify
(MockedStatic<?> mockedStatic, MockedStatic.Verification verification) Verifies static interaction in order, with exactly one number of invocations.void
InOrder.verify
(MockedStatic<?> mockedStatic, MockedStatic.Verification verification, VerificationMode mode) Verifies static interaction in order. -
Uses of MockedStatic in org.mockito.internal
Classes in org.mockito.internal that implement MockedStaticMethods in org.mockito.internal that return MockedStaticModifier and TypeMethodDescription<T> MockedStatic
<T> MockitoCore.mockStatic
(Class<T> classToMock, MockSettings settings) Methods in org.mockito.internal with parameters of type MockedStaticModifier and TypeMethodDescriptionvoid
InOrderImpl.verify
(MockedStatic<?> mockedStatic, MockedStatic.Verification verification, VerificationMode mode)