public function seeRecord($model, $attributes = [])
    {
        $record = $this->findRecord($model, $attributes);
        if (!$record) {
            $this->fail("Couldn't find $model with " . json_encode($attributes));
        }
        $this->debugSection($model, json_encode($record));
    }
public function seeRecord($model, $attributes = [])
    {
        $record = $this->findRecord($model, $attributes);
        if (!$record) {
            $this->fail("Couldn't find $model with " . json_encode($attributes));
        }
        $this->debugSection($model, json_encode($record));
    }
public function seeRecord ( $ model , $ attributes = [ ] ) { $ record = $ this -> findRecord ( $ model , $ attributes ) ; if ( ! $ record ) { $ this -> fail ( "Couldn't find $model with " . json_encode ( $ attributes ) ) ; } $ this -> debugSection ( $ model , json_encode ( $ record ) ) ; }
Checks that record exists in database.

``` php
$I->seeRecord('app\models\User', array('name' => 'davert'));
```

@param $model
@param array $attributes
@part orm
Checks that record exists in database .