'comma', 'pos' => 3, 'value' => ','], 'abc,def' ); $expected = <<assertContains($expected, $e->getMessage()); } public function testCreatesWithArray() { $e = new SyntaxErrorException( ['dot' => true, 'eof' => true], ['type' => 'comma', 'pos' => 3, 'value' => ','], 'abc,def' ); $expected = <<assertContains($expected, $e->getMessage()); } }