PopTest\Db\PredicateTest::testNotLike PHP Метод

testNotLike() публичный Метод

public testNotLike ( )
    public function testNotLike()
    {
        $p = new Predicate(Sql::factory(Db::factory('Sqlite', array('database' => __DIR__ . '/../tmp/test.sqlite')), 'users'));
        $p->notLike('email', '%@test.com');
        $this->assertEquals('("email" NOT LIKE \'%@test.com\')', (string) $p);
    }