public function testSerializesToIncludeMessageAndLocations()
{
$node = Parser::parse('{ field }')->definitions[0]->selectionSet->selections[0];
$e = new Error('msg', [$node]);
$this->assertEquals(['message' => 'msg', 'locations' => [['line' => 1, 'column' => 3]]], $e->toSerializableArray());
}