public function testUsesTheNamedOperationIfOperationNameIsProvided()
{
$doc = 'query Example { first: a } query OtherExample { second: a }';
$data = ['a' => 'b'];
$ast = Parser::parse($doc);
$schema = new Schema(['query' => new ObjectType(['name' => 'Type', 'fields' => ['a' => ['type' => Type::string()]]])]);
$result = Executor::execute($schema, $ast, $data, null, null, 'OtherExample');
$this->assertEquals(['data' => ['second' => 'b']], $result->toArray());
}