Ejemplo n.º 1
0
 public function testIsRemovingNodes()
 {
     $node = new FieldNode();
     $node->add('test');
     $node->remove('test');
     $this->assertCount(0, $node);
 }
Ejemplo n.º 2
0
 /**
  * @param string $type
  */
 public function remove($key)
 {
     $this->root->remove($key);
 }