Exemple #1
0
 public function testAlso()
 {
     $also = new Predicate(Predicate::ALSO);
     $also->in('id', [1, 2, 3]);
     $this->object->also(function (Predicate $predicate) {
         $predicate->in('id', [1, 2, 3]);
     });
     $this->assertEquals([$also], $this->object->getParams());
 }