Пример #1
0
 /**
  * In the case of arrays its simply ignored
  *
  * @depends	testInterface
  * @return	null
  */
 public function testSetCssFilesOneEmptyArray()
 {
     $files = array(array('mycss.css'), array(), array('our.css', 'screen', 'text/html'));
     $this->assertSame($this->htmlDoc, $this->htmlDoc->loadCssFiles($files));
     $expected = array(new Link('mycss.css'), new Link('our.css', 'screen', 'text/html'));
     $this->assertEquals($expected, $this->htmlDoc->getLinkTags());
 }