AssertNullAsync

Parent Previous Next

AssertNullAsync

Description: the method checks the value that should be null, and if the value is not null, the check will be considered a failure

Syntax: AssertNullAsync(dynamic obj)

Return value: bool (true or false)


Example:

string text = null;

await tester.AssertNullAsync(text);

Created with the Personal Edition of HelpNDoc: Free help authoring environment