java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.mockito.exceptions.base.MockitoAssertionError
org.mockito.exceptions.verification.ArgumentsAreDifferent
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionArgumentsAreDifferent(String message) ArgumentsAreDifferent(String message, String wanted, String actual) Three-arg constructor for compatibility with ExceptionFactory's three-arg create method. -
Method Summary
Methods inherited from class org.mockito.exceptions.base.MockitoAssertionError
getUnfilteredStackTraceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ArgumentsAreDifferent
-
ArgumentsAreDifferent
Three-arg constructor for compatibility with ExceptionFactory's three-arg create method. This implementation simply ignores the second and third arguments.- Parameters:
message-wanted- ignoredactual- ignored
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-