public function testDissallowsUncommonControlCharacters()
{
try {
$char = Utils::chr(0x7);
$this->lexOne($char);
$this->fail('Expected exception not thrown');
} catch (SyntaxError $error) {
$msg = mb_substr($error->getMessage(), 0, 72, 'UTF-8');
$this->assertEquals('Syntax Error GraphQL (1:1) Cannot contain the invalid character "\\u0007"', $msg);
}
}