public function testIntIntoEnum() { $this->expectFailsRule(new ArgumentsOfCorrectType(), ' { dog { doesKnowCommand(dogCommand: 2) } } ', [$this->badValue('dogCommand', 'DogCommand', '2', 4, 41)]); }