GraphQL\Tests\Validator\ArgumentsOfCorrectTypeTest::testDifferentCaseEnumValueIntoEnum PHP Method

testDifferentCaseEnumValueIntoEnum() public method

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