public function testIndentationIsHonored() { $this->helper->setIndent(4); $this->helper->appendStylesheet('/css/screen.css'); $this->helper->appendStylesheet('/css/rules.css'); $string = $this->helper->toString(); $scripts = substr_count($string, ' <link '); $this->assertEquals(2, $scripts); }