/** * @return null */ public function testLoadJsHeadFiles() { $list = array('my-file.js', 'your-file.js', 'there-file.js'); $this->assertSame($this->htmlDoc, $this->htmlDoc->loadJsHeadFiles($list)); $expected = array(new Script($list[0]), new Script($list[1]), new Script($list[2])); $this->assertEquals($expected, $this->htmlDoc->getJsHeadScriptTags()); }