public function testIsRemovingNodes() { $node = new FieldNode(); $node->add('test'); $node->remove('test'); $this->assertCount(0, $node); }
/** * @param string $key Request parameter key * @param string $type Request parameter type * @param array $options */ public function add($key, $type = 'string', $options = []) { return $this->root->add($key, $type, $options); }