public function testIncorrectItemtype()
{
$this->expectFailsRule(new ArgumentsOfCorrectType(), '
{
complicatedArgs {
stringListArgField(stringListArg: ["one", 2])
}
}
', [$this->badValue('stringListArg', '[String]', '["one", 2]', 4, 47, ['In element #1: Expected type "String", found 2.'])]);
}