Phalcon\Test\Unit\EscaperTest::testGetSetEncoding PHP Метод

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

Tests the getEncoding and setEncoding
С версии: 2014-09-16
Автор: Nikolaos Dimopoulos ([email protected])
public testGetSetEncoding ( )
    public function testGetSetEncoding()
    {
        $this->specify('The escaper does not set/get the encoding correctly', function () {
            $escaper = new Escaper();
            $escaper->setEncoding('UTF-8');
            expect($escaper->getEncoding())->equals('UTF-8');
        });
    }