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