/** * @test */ public function itShouldSetExistsCondition() { $select1 = new Select('user'); $select1->where()->equals('user_id', 10); $result = $this->where->exists($select1)->getExists(); $this->assertEquals(array($select1), $result); }
/** * @test */ public function itShouldSetExistsCondition() { $select1 = new Select('user'); $select1->where()->equals('user_id', 10); $result = $this->where->exists($select1)->getExists(); $this->assertEquals(array($select1), $result); }