/** * @depends testInitialState * @return null */ public function testCreateHtmlTagWithBodyAndHeadTag() { $head = $this->factory->createHeadTag(); $body = $this->factory->createBodyTag(); $tag = $this->factory->createHtmlTag($head, $body); $this->assertInstanceOf($this->tagInterface, $tag); $this->assertInstanceOf('Appfuel\\View\\Html\\Tag\\HtmlTagInterface', $tag); $this->assertSame($head, $tag->getHead()); $this->assertSame($body, $tag->getBody()); }