public function testFieldNotDefinedOnFragment() { $this->expectFailsRule(new FieldsOnCorrectType(), ' fragment fieldNotDefined on Dog { meowVolume }', [$this->undefinedField('meowVolume', 'Dog', [], 3, 9)]); }