SysTestAssert.assertNull Method [AX 2012]
Checks whether the value is nullNothingnullptrunita null reference (Nothing in Visual Basic).
public void assertNull(Object _object, [str _message])
Run On
CalledParameters
- _object
- Type: Object Class
The value that is confirmed to be nullNothingnullptrunita null reference (Nothing in Visual Basic).
- _message
- Type: str
An error message logged to the Infolog 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: