/**
     * Test calls to <% require %> methods
     */
    public function testRequireCalls()
    {
        // String arg
        $template = '<% require javascript("path/to/some.js") %>';
        $expected = <<<'PHP'
Requirements::javascript('path/to/some.js');
PHP;
        $this->assertContains($expected, $this->parser->compileString($template));
        // Lookup arg
        $template = '<% require javascript($Foo) %>';
        $expected = <<<'PHP'
Requirements::javascript($scope->locally()->XML_val('Foo', null, true));
PHP;
        $this->assertContains($expected, $this->parser->compileString($template));
        // Concatenation
        $template = '<% require javascript(SOME_CONST . "js/file.js") %>';
        $expected = <<<'PHP'
Requirements::javascript(SOME_CONST . "js/file.js");
PHP;
        $this->assertContains($expected, $this->parser->compileString($template));
    }