示例#1
0
 public function testNoErrors()
 {
     $p = new Parser();
     $string = "LOC+9+VNSGN'\nLOC+11+ITGOA'";
     $p->parse($string);
     $result = $p->errors();
     $this->assertEmpty($result);
 }
示例#2
0
 public function testLoadWrappedFile()
 {
     $p = new Parser(__DIR__ . "/../files/example_wrapped.edi");
     $result = $p->errors();
     $this->assertEmpty($result);
 }