public function testCommentedOutScriptTagIsIgnored()
 {
     $template = '<html><head></head><body><!--<script>alert("commented out");</script>-->' . '<h1>more content</h1></body></html>';
     $backend = Injector::inst()->create('Requirements_Backend');
     $this->setupRequirements($backend);
     $backend->setSuffixRequirements(false);
     $src = $this->getCurrentRelativePath() . '/RequirementsTest_a.js';
     $urlSrc = ControllerTest_ContainerController::join_links(Director::baseURL(), $src);
     $backend->javascript($src);
     $html = $backend->includeInHTML(false, $template);
     $this->assertEquals('<html><head></head><body><!--<script>alert("commented out");</script>-->' . '<h1>more content</h1><script type="text/javascript" src="' . $urlSrc . '"></script></body></html>', $html);
 }