EDITest\ParserTest::testSegmentWithMultipleSingleQuotes PHP Метод

testSegmentWithMultipleSingleQuotes() публичный Метод

    public function testSegmentWithMultipleSingleQuotes()
    {
        $string = ["EQD+CX'DU12?+3456+2?:0'", "EQD+CXDU12?+3456+2?:0'"];
        $p = new Parser();
        $p->parse($string);
        $result = $p->get();
        $experror = "There's a ' not escaped in the data; string EQD+CX'DU12?+3456+2?:0";
        $error = $p->errors();
        $this->assertContains($experror, $error);
    }