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