PopTest\Db\PredicateTest::testIsNotNull PHP Method

testIsNotNull() public method

public testIsNotNull ( )
    public function testIsNotNull()
    {
        $p = new Predicate(Sql::factory(Db::factory('Sqlite', array('database' => __DIR__ . '/../tmp/test.sqlite')), 'users'));
        $p->isNotNull('email');
        $this->assertEquals('("email" IS NOT NULL)', (string) $p);
    }