/**
  * @covers \NewFrontiers\Framework\Output\Template::js
  * @covers \NewFrontiers\Framework\Output\Template::load
  */
 public function testJs()
 {
     Template::load('bootadmin', true);
     $baseUrl = Configuration::get('site.internalUrl') . '/templates/bootadmin';
     $cssString = Template::js('file1.js', 'pathToJs', true);
     $this->assertEquals('<script type="text/javascript" src="pathToJs/file1.js"></script>', $cssString);
     $cssString = Template::js('file1.js', null, true);
     $this->assertEquals('<script type="text/javascript" src="' . $baseUrl . '/js/file1.js"></script>', $cssString);
     $cssString = Template::js('file1.js', 'path/js', false);
     $this->assertEquals('<script type="text/javascript" src="path/js/file1.js"></script>', $cssString);
     $this->expectOutputString('<script type="text/javascript" src="pathToJs/file1.js"></script>' . '<script type="text/javascript" src="' . $baseUrl . '/js/file1.js"></script>');
 }
    <!-- /.modal-dialog -->
</div>


<?php 
Template::js('jquery-2.1.1.js');
Template::js('bootstrap.min.js');
Template::js('plugins/metisMenu/jquery.metisMenu.js');
Template::js('plugins/slimscroll/jquery.slimscroll.min.js');
Template::js('inspinia.js');
Template::js('plugins/pace/pace.min.js');
Template::js('plugins/jvectormap/jquery-jvectormap-2.0.2.min.js');
Template::js('plugins/jvectormap/jquery-jvectormap-world-mill-en.js');
Template::js('ModalizerControl.js', Configuration::get('site.internalUrl') . '/assets');
Template::js('GridControl.js', Configuration::get('site.internalUrl') . '/assets');
Template::js('spin.js', Configuration::get('site.internalUrl') . '/bower_components/spin.js');
Template::js('jquery.spin.js', Configuration::get('site.internalUrl') . '/bower_components/spin.js');
Template::js('jquery.validate.min.js', Configuration::get('site.internalUrl') . '/bower_components/jquery-validation/dist');
Template::js('globalize.js', Configuration::get('site.internalUrl') . '/bower_components/globalize/lib');
Template::js('globalize.culture.de-DE.js', Configuration::get('site.internalUrl') . '/bower_components/globalize/lib/cultures');
Template::js('validator.languages.de.js', Configuration::get('site.internalUrl') . '/assets');
Template::js('jquery.validate.globalize.min.js', Configuration::get('site.internalUrl') . '/assets');
Template::js('Chart.min.js', Configuration::get('site.internalUrl') . '/bower_components/Chart.js/dist');
Debug::showDebugConsole();
Javascript::display();
?>

</body>

</html>