Esempio n. 1
0
 public function testSCA()
 {
     $pdu = new Submit();
     $pdu->setSca("+31653131313");
     $pdu->setAddress("+48660548430");
     $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 == '07911356131313F301000B918466508434F000080C014200F3015B010701050119');
     }
 }