public function testDoesNotAcceptInternalValueAsEnumVariable() { $this->expectFailure('query test($color: Color!) { colorEnum(fromEnum: $color) }', ['color' => 2], "Variable \"\$color\" got invalid value 2.\nExpected type \"Color\", found 2."); }