public function testInvalidParamError() { $this->createFunctionBuilder('test')->addParam(new Node\Name('foo')); }