public function testEnumMayBeOutputType() { $this->assertEquals(['data' => ['colorEnum' => 'GREEN']], GraphQL::execute($this->schema, '{ colorEnum(fromInt: 1) }')); }