public function testMultipleVariablesNotDefined() { $this->expectFailsRule(new NoUndefinedVariables(), ' query Foo($b: String) { field(a: $a, b: $b, c: $c) } ', [$this->undefVar('a', 3, 18, 'Foo', 2, 7), $this->undefVar('c', 3, 32, 'Foo', 2, 7)]); }