AssertDontHaveInTableAsync

English version ›› Plugins ›› HatPluginMySql ›› Class: TesterMySql ›› Methods ››
Parent Previous Next

AssertDontHaveInTableAsync

Description: the method checks the data in the specified database table and returns the boolean value of the search result, in case of a positive result, the check will be considered a failure

Syntax: AssertDontHaveInTableAsync(string tableName, string columnName, string value)

Return value: bool (true or false)


Example:

bool result = await testerMySql.AssertDontHaveInTableAsync("test_table", "name", "'I am Tester'");

Created with the Personal Edition of HelpNDoc: Free Web Help generator