Exemplo n.º 1
0
 public function testPauseAddAttribute()
 {
     $r = new Response();
     $re = new Pause();
     $re->set("foo", "bar");
     $r->append($re);
     $expected = '<Response><Pause foo="bar"></Pause></Response>';
     $this->assertXmlStringEqualsXmlString($expected, $r->asUrl(False));
 }