AssertNotNullAsync

Parent Previous Next

AssertNotNullAsync

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

Syntax: AssertNotNullAsync(dynamic obj)

Return value: bool (true or false)


Example:

string text = "текст";

await tester.AssertNotNullAsync(text);

Created with the Personal Edition of HelpNDoc: Free Qt Help documentation generator