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

testExists() public method

Tests whether a key exists in the array
Since: 2014-11-04
Author: Ivan Zubok ([email protected])
public testExists ( )
    public function testExists()
    {
        $this->specify("The key exist with expect", function () {
            $params = $this->config['ru'];
            $translator = new Csv($params);
            expect($translator->exists('Hello!'))->true();
        });
    }