public function test_isEmpty2()
 {
     $nnode = new QuoteBbcodeNode();
     $this->assertTrue($nnode->isEmpty());
 }
 /**
  * Parses the text inside a new quote bbcode node.
  * 
  * @param QuoteBbcodeNode $node
  * @return QuoteBbcodeNode
  */
 protected function parseQuoteBbcodeNode(QuoteBbcodeNode $node)
 {
     $first_rbracket_pos = strpos($this->_string, ']', $this->_pos - 1);
     if ($first_rbracket_pos !== false) {
         $equal_pos = strpos($this->_string, '=', $this->_pos - 1);
         if ($equal_pos !== false && $equal_pos < $first_rbracket_pos) {
             // form [quote=author]///[/quote]
             $author = substr($this->_string, $equal_pos + 1, $first_rbracket_pos - $equal_pos - 1);
             $node->setAuthor($author);
         }
         // else form [quote]///[/quote]
         $this->_pos = $first_rbracket_pos + 1;
         $this->parseContent();
     }
     return $node;
 }