public function seeInRepository($entity, $params = [])
    {
        $res = $this->proceedSeeInRepository($entity, $params);
        $this->assert($res);
    }
public function seeInRepository($entity, $params = [])
    {
        $res = $this->proceedSeeInRepository($entity, $params);
        $this->assert($res);
    }
public function seeInRepository ( $ entity , $ params = [ ] ) { $ res = $ this -> proceedSeeInRepository ( $ entity , $ params ) ; $ this -> assert ( $ res ) ; }
Flushes changes to database, and executes a query with parameters defined in an array.
You can use entity associations to build complex queries.

Example:

``` php
<?php
$I->seeInRepository('AppBundle:User', array('name' => 'davert'));
$I->seeInRepository('User', array('name' => 'davert', 'Company' => array('name' => 'Codegyre')));
$I->seeInRepository('Client', array('User' => array('Company' => array('name' => 'Codegyre')));
?>
```

Fails if record for given criteria can\'t be found,

@param $entity
@param array $params
Flushes changes to database and executes a query with parameters defined in an array . You can use entity associations to build complex queries .