GraphQL\Tests\StarWarsIntrospectionTest::testAllowsQueryingForInterfaceKind PHP Method

testAllowsQueryingForInterfaceKind() public method

    public function testAllowsQueryingForInterfaceKind()
    {
        $query = '
        query IntrospectionCharacterKindQuery {
          __type(name: "Character") {
            name
            kind
          }
        }
        ';
        $expected = ['__type' => ['name' => 'Character', 'kind' => 'INTERFACE']];
        $this->assertValidQuery($query, $expected);
    }