PHP Class GraphQL\Tests\StarWarsIntrospectionTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: webonyx/graphql-php

Public Methods

Method Description
testAllowsQueryingForAnObjectKind ( )
testAllowsQueryingForInterfaceKind ( )
testAllowsQueryingForObjectFields ( )
testAllowsQueryingTheSchemaForASpecificType ( )
testAllowsQueryingTheSchemaForDocumentation ( )
testAllowsQueryingTheSchemaForFieldArgs ( )
testAllowsQueryingTheSchemaForNestedObjectFields ( )
testAllowsQueryingTheSchemaForQueryType ( )
testAllowsQueryingTheSchemaForTypes ( )

Private Methods

Method Description
assertValidQuery ( $query, $expected ) Helper function to test a query and the expected response.

Method Details

testAllowsQueryingForAnObjectKind() public method

testAllowsQueryingForInterfaceKind() public method

testAllowsQueryingForObjectFields() public method

testAllowsQueryingTheSchemaForASpecificType() public method

testAllowsQueryingTheSchemaForDocumentation() public method

testAllowsQueryingTheSchemaForFieldArgs() public method

testAllowsQueryingTheSchemaForNestedObjectFields() public method

testAllowsQueryingTheSchemaForQueryType() public method

testAllowsQueryingTheSchemaForTypes() public method