Exemplo n.º 1
0
 /**
  * @depends	testInitialState
  * @return	null
  */
 public function testCreateMetaHttpEquivContentCharset()
 {
     $charset = 'EUC-JP';
     $equiv = 'Content-Type';
     $content = 'text/html';
     $tag = $this->factory->createMetaTag(null, $content, $equiv, $charset);
     $this->assertInstanceOf('Appfuel\\View\\Html\\Tag\\MetaTag', $tag);
     $this->assertFalse($tag->isAttribute('name'));
     $this->assertEquals($charset, $tag->getAttribute('charset'));
     $this->assertEquals($equiv, $tag->getAttribute('http-equiv'));
     $this->assertEquals($content, $tag->getAttribute('content'));
 }