Пример #1
0
 /**
  * @depends	testInitialState
  * @return	null
  */
 public function testCreateLinkTagType()
 {
     $type = 'text/html';
     $rel = 'help';
     $href = 'my-file.css';
     $tag = $this->factory->createLinkTag($href, $rel, $type);
     $this->assertInstanceOf('Appfuel\\View\\Html\\Tag\\LinkTag', $tag);
     $this->assertEquals($href, $tag->getAttribute('href'));
     $this->assertEquals($rel, $tag->getAttribute('rel'));
     $this->assertEquals($type, $tag->getAttribute('type'));
 }