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

testAcceptsSchemaWithQueryAndMutationTypesOfObjectType() public method

    public function testAcceptsSchemaWithQueryAndMutationTypesOfObjectType()
    {
        $MutationType = new ObjectType(['name' => 'Mutation', 'fields' => ['edit' => ['type' => Type::string()]]]);
        $this->expectPasses(['query' => $this->someObjectType, 'mutation' => $MutationType]);
    }
SchemaValidatorTest