SysTestAssert.assertObjectEquals Method [AX 2012]
Checks whether the objects are equal.
private void assertObjectEquals(
Object _expected,
Object _actual,
[str _message])
Run On
CalledParameters
- _expected
- Type: Object Class
The expected object.
- _actual
- Type: Object Class
The actual object.
- _message
- Type: str
An error message logged when the assertion test fails; optional.
To use this method, create a class that extends the SysTestCase class and then add a method to provide your test logic. For an example of how to use an assertion method, see How to: Create a Test Case.
Community Additions
ADD
Show: