Package org.mockito.exceptions.misusing
Class DoNotMockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mockito.exceptions.base.MockitoException
org.mockito.exceptions.misusing.DoNotMockException
- All Implemented Interfaces:
Serializable
Thrown when attempting to mock a class that is annotated with
DoNotMock
.- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.mockito.exceptions.base.MockitoException
getUnfilteredStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DoNotMockException
-