public function testBooleanXBooleanNonNullInDirective()
{
$this->expectFailsRule(new VariablesInAllowedPosition(), '
query Query($boolVar: Boolean) {
dog @include(if: $boolVar)
}
', [FormattedError::create(VariablesInAllowedPosition::badVarPosMessage('boolVar', 'Boolean', 'Boolean!'), [new SourceLocation(2, 19), new SourceLocation(3, 26)])]);
}