Test.UnexpectedError Class
UnexpectedError is subclass of AssertionError that is thrown whenever an error occurs within the course of a test and the test was not expected to throw an error.
Constructor
Test.UnexpectedError
(
-
cause
Parameters:
-
cause
ErrorThe unexpected error that caused this error to be thrown.