PopTest\Db\PredicateTest::testNotIn PHP Method

testNotIn() public method

public testNotIn ( )
    public function testNotIn()
    {
        $p = new Predicate(Sql::factory(Db::factory('Sqlite', array('database' => __DIR__ . '/../tmp/test.sqlite')), 'users'));
        $p->notIn('id', array(1, 2, 3));
        $this->assertEquals('("id" NOT IN (1, 2, 3))', (string) $p);
    }