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)); }