Example #1
0
 /**
  * @dataProvider loadJqueryFromSourceDataProvider
  * @test
  */
 public function isJqueryLoadedFromSourceUncompressedIfDebugModeIsEnabled($version, $source, $regex)
 {
     $subject = new \TYPO3\CMS\Core\Page\PageRenderer();
     $subject->loadJquery($version, $source);
     $subject->enableDebugMode();
     $out = $subject->render();
     $this->assertRegExp($regex, $out);
 }