Phalcon\Test\Unit\Translate\Adapter\CsvTest::testNotExists PHP Method

testNotExists() public method

Tests whether a key not exists in the array
Since: 2014-11-04
Author: 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();
        });
    }