public function setUp() { $this->sut = Extractor::fromHtml(<<<HTML <html> \t<body> \t\t<span class="s1">foo</span> \t\t<div class="c1"> \t\t\t<div>xxx</div> \t\t\t<div> \t\t\t\t<span>yyy</span> \t\t\t\t<span>zzz</span> \t\t\t\t<span class="s1">baz</span> \t\t\t</div> \t\t</div> \t</body> </html> HTML ); }