public function testSimpleTagWithContent() { $result = Selecta::wrap('div', 'Hello'); $this->assertEquals('<div>Hello</div>', $result); }
public function testProblem1() { $result = Selecta::wrap('a[href=/content/page/templates/][title=My pages].tab-active', 'hello'); $this->assertEquals('<a href="/content/page/templates/" title="My pages" class="tab-active">hello</a>', $result); }