public function testDefaultFunctionCallsMethods()
{
$schema = $this->buildSchema(['type' => Type::string()]);
$_secret = 'secretValue' . uniqid();
$source = ['test' => function () use($_secret) {
return $_secret;
}];
$this->assertEquals(['data' => ['test' => $_secret]], GraphQL::execute($schema, '{ test }', $source));
}