SysTest.wasExpectedExceptionMessageThrown Method [AX 2012]
Checks whether the expected exception was thrown.
Syntax
private boolean wasExpectedExceptionMessageThrown(str _actual, str _expected)
Run On
Called
Parameters
- _actual
Type: str
The actual value.
- _expected
Type: str
The expected exception message.
Return Value
Type: boolean
true if the expected exception was thrown; otherwise, false.