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'); }); }