If the test has thrown an exception, the session will check first if the exception could be related to a misuse of mockito.
If the test has thrown an exception, the session will check first if the exception could be related to a misuse of mockito. If not, it will rethrow the original error so the real test failure can be reported by the testing framework
exception thrown by the test framework
(Since version ) see corresponding Javadoc for more information.