public function testOmitsInputObjectFieldsForUnprovidedVariables()
{
$testInputObj = $this->inputObj();
$this->runTestCaseWithVars([], $testInputObj, '{ int: $foo, bool: $foo, requiredBool: true }', ['int' => 42, 'requiredBool' => true]);
$this->runTestCaseWithVars([], $testInputObj, '{ requiredBool: $foo }', Utils::undefined());
$this->runTestCaseWithVars(['foo' => true], $testInputObj, '{ requiredBool: $foo }', ['int' => 42, 'requiredBool' => true]);
}