/**
  * Tests stylesheetLink overriding the rel link local
  *
  * @issue  2142
  * @author Nikolaos Dimopoulos <*****@*****.**>
  * @author Dreamszhu <*****@*****.**>
  * @since  2014-09-12
  */
 public function testStylesheetLinkOverrideRelLink()
 {
     $this->specify("stylesheetLink overriding rel local returns invalid HTML Strict", function () {
         Tag::resetInput();
         $options = ['css/phalcon.css', 'rel' => 'stylesheet/less'];
         $expected = '<link rel="stylesheet/less" type="text/css" ' . 'href="/css/phalcon.css" />' . PHP_EOL;
         Tag::setDocType(Tag::XHTML10_STRICT);
         $actual = Tag::stylesheetLink($options);
         expect($actual)->equals($expected);
     });
     $this->specify("stylesheetLink overriding rel local returns invalid HTML Strict", function () {
         Tag::resetInput();
         $options = ['css/phalcon.css', 'rel' => 'stylesheet/less'];
         $expected = '<link rel="stylesheet/less" type="text/css" ' . 'href="/css/phalcon.css">' . PHP_EOL;
         Tag::setDocType(Tag::HTML5);
         $actual = Tag::stylesheetLink($options);
         expect($actual)->equals($expected);
     });
 }