public assertNotQueriesByFunction ( string $function, string $message = '' ) | ||
$function | string | |
$message | string | An optional message to override the default one. |
public function assertNotQueriesByFunction($function, $message = '')
{
$message = $message ? $message : 'Failed asserting that no queries were made by function [' . $function . ']';
$this->assertQueriesCountByFunction(0, $function, $message);
}