PHP Class GraphQL\Tests\Executor\LazyInterfaceTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: webonyx/graphql-php

Protected Properties

Свойство Type Description
$lazyInterface GraphQL\Type\Definition\InterfaceType
$schema GraphQL\Schema
$testObject GraphQL\Type\Definition\ObjectType

Méthodes publiques

Méthode Description
testReturnsFragmentsWithLazyCreatedInterface ( ) Handles execution of a lazily created interface

Méthodes protégées

Méthode Description
getLazyInterfaceType ( ) : InterfaceType Returns the LazyInterface
getTestObjectType ( ) : ObjectType Returns the test ObjectType
setUp ( ) Setup schema

Method Details

getLazyInterfaceType() protected méthode

Returns the LazyInterface
protected getLazyInterfaceType ( ) : InterfaceType
Résultat GraphQL\Type\Definition\InterfaceType

getTestObjectType() protected méthode

Returns the test ObjectType
protected getTestObjectType ( ) : ObjectType
Résultat GraphQL\Type\Definition\ObjectType

setUp() protected méthode

Setup schema
protected setUp ( )

testReturnsFragmentsWithLazyCreatedInterface() public méthode

Handles execution of a lazily created interface

Property Details

$lazyInterface protected_oe property

protected InterfaceType,GraphQL\Type\Definition $lazyInterface
Résultat GraphQL\Type\Definition\InterfaceType

$schema protected_oe property

protected Schema,GraphQL $schema
Résultat GraphQL\Schema

$testObject protected_oe property

protected ObjectType,GraphQL\Type\Definition $testObject
Résultat GraphQL\Type\Definition\ObjectType