public function testInputObjectIsInvalidFragmentType() { $this->expectFailsRule(new FragmentsOnCompositeTypes(), ' fragment inputFragment on ComplexInput { stringField } ', [$this->error('inputFragment', 'ComplexInput', 2, 33)]); }