EDITest\ParserTest::testNotPrintableCharacter PHP Method

testNotPrintableCharacter() public method

    public function testNotPrintableCharacter()
    {
        $string = "EQD+CèèèXDU12?+3456+2?:0'";
        $expected = [["EQD", "CXDU12+3456", "2:0"]];
        $p = new Parser($string);
        $result = $p->get();
        $experror = "There's a not printable character on line 1: EQD+CèèèXDU12?+3456+2?:0'";
        $error = $p->errors();
        $this->assertEquals($expected, $result);
        $this->assertContains($experror, $error);
    }