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