Esempio n. 1
0
 /**
  * @test
  */
 public function itShouldAccumulateMatchQueryExpansionConditions()
 {
     $column = array('user_id');
     $result = $this->where->matchWithQueryExpansion($column, array(1, 2, 3))->getMatches();
     $expected = array(0 => array('columns' => array('user_id'), 'values' => array(1, 2, 3), 'mode' => 'query_expansion'));
     $this->assertEquals($expected, $result);
 }