public function testJsQuoteEscape() { $script = "var s = 'text';"; $this->assertEquals('var s = \\\'text\\\';', $this->_block->jsQuoteEscape($script)); }