Phalcon\Test\Unit\Translate\Adapter\CsvTest::testNotExists PHP 메소드

testNotExists() 공개 메소드

Tests whether a key not exists in the array
부터: 2014-11-04
저자: Ivan Zubok ([email protected])
public testNotExists ( )
    public function testNotExists()
    {
        $this->specify("The key does not exist with exists", function () {
            $params = $this->config['ru'];
            $translator = new Csv($params);
            expect($translator->exists('Hi!'))->false();
        });
    }