/** * @depends testAddGetInlineStyleContent * @return null */ public function testGetInlineStyleContentString() { $style = $this->head->getInlineStyleTag(); $sep = $style->getContentSeparator(); $block1 = 'p{color:red}'; $block2 = 'h1{color:blue}'; $this->assertEquals('', $this->head->getInlineStyleContentString()); $this->head->addInlineStyleContent($block1); $this->assertEquals($block1, $this->head->getInlineStyleContentString()); $this->head->addInlineStyleContent($block2); $this->assertEquals("{$block1}{$sep}{$block2}", $this->head->getInlineStyleContentString()); }