Codeception\Module\Laravel5::dontSeeRecord PHP Method

dontSeeRecord() public method

php dontSeeRecord('users', array('name' => 'davert')); ?>
public dontSeeRecord ( $model, array $attributes = [] )
$model
$attributes array
    public function dontSeeRecord($model, $attributes = array())
    {
        $record = $this->findRecord($model, $attributes);
        $this->debugSection($model, json_encode($record));
        if ($record) {
            $this->fail("Unexpectedly managed to find {$model} with " . json_encode($attributes));
        }
    }