public function testWithDirectiveWithIncorrectTypes()
{
$this->expectFailsRule(new ArgumentsOfCorrectType(), '
{
dog @include(if: "yes") {
name @skip(if: ENUM)
}
}
', [$this->badValue('if', 'Boolean', '"yes"', 3, 28), $this->badValue('if', 'Boolean', 'ENUM', 4, 28)]);
}