GraphQL\Tests\Type\SchemaValidatorTest::testAcceptsSchemaWithNonnullInputTypeAsInputFieldArg PHP Method

testAcceptsSchemaWithNonnullInputTypeAsInputFieldArg() public method

    public function testAcceptsSchemaWithNonnullInputTypeAsInputFieldArg()
    {
        // accepts a schema with a nonnull input type as an input field arg
        $this->assertAcceptingFieldArgOfType(new NonNull(new InputObjectType(['name' => 'SomeInputObject'])));
    }
SchemaValidatorTest