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