/**
  * @it String => Boolean! in directive
  */
 public function testStringXBooleanNonNullInDirective()
 {
     // String => Boolean! in directive
     $this->expectFailsRule(new VariablesInAllowedPosition(), '
   query Query($stringVar: String) {
     dog @include(if: $stringVar)
   }
     ', [FormattedError::create(VariablesInAllowedPosition::badVarPosMessage('stringVar', 'String', 'Boolean!'), [new SourceLocation(2, 19), new SourceLocation(3, 26)])]);
 }