public function testVariableNotDefinedByUnNamedQuery() { $this->expectFailsRule(new NoUndefinedVariables(), ' { field(a: $a) } ', [$this->undefVar('a', 3, 18, '', 2, 7)]); }