public function testElementsCanBeReplacedWithHtml() { $html = T::fetch($this->p, array('.things' => T::replaceWith('<b>Gone...</b>'))); $this->assertNotContains('class="things"', $html); $this->assertContains('<b>Gone...</b>', $html); }