GraphQL\Tests\Validator\FragmentsOnCompositeTypesTest::testInputObjectIsInvalidFragmentType PHP Method

testInputObjectIsInvalidFragmentType() public method

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