Esempio n. 1
0
 public function testPolishChar()
 {
     $pdu = new Submit();
     $pdu->setAddress("+48660548430");
     $pdu->setVp(3600 * 24 * 4);
     $pdu->setData("łóśćąę");
     // łóśćąę
     $parts = $pdu->getParts();
     $this->assertNotNull($parts);
     $this->assertCount(1, $parts);
     foreach ($parts as $part) {
         echo (string) $part . " == 07911356131313F301000B918466508434F000080C014200F3015B010701050119\n";
         $this->assertTrue((string) $part == '0011000B918466508434F00008AA0C014200F3015B010701050119');
     }
 }