;'; $this->assertEquals($expected, $this->compiler->compileString($string)); } public function testEncodingOptionsCanBeOverwritten() { $string = 'var foo = @json($var, JSON_HEX_TAG);'; $expected = 'var foo = ;'; $this->assertEquals($expected, $this->compiler->compileString($string)); } }