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.
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.