boolean function ( ) { return thrownException ( ) instanceof AssertionFailedError ; }
returns true if the error is considered a failure i.e. if it is an instance of assertionfailederror , false otherwise . concode_field_sep Test fFailedTest concode_elem_sep Throwable fThrownException concode_field_sep Test failedTest concode_elem_sep Throwable thrownException concode_elem_sep String trace concode_elem_sep String toString concode_elem_sep String exceptionMessage