protected function setUp() { $this->_node = new UrlBbcodeNode(); $this->_node->setUrl("http://my.super.website.com/path/to/resource.htm"); $this->_node->addChild(new TextBbcodeNode("this is the link")); }