public function testAppendPrependAndGetContent() { $tag = new Tag('p', 'content text'); $tag->prepend('[')->append(']'); $this->assertEquals('[content text]', $tag->getContent()); }