Пример #1
0
 public function testSmsAddAttribute()
 {
     $r = new Response();
     $re = new Sms();
     $re->set("foo", "bar");
     $r->append($re);
     $expected = '<Response><Sms foo="bar"></Sms></Response>';
     $this->assertXmlStringEqualsXmlString($expected, $r->asUrl(False));
 }