public function testReturnsFragmentsWithLazyCreatedInterface()
{
$request = '
{
lazyInterface {
... on TestObject {
name
}
}
}
';
$expected = ['data' => ['lazyInterface' => ['name' => 'testname']]];
$this->assertEquals($expected, Executor::execute($this->schema, Parser::parse($request))->toArray());
}