Пример #1
0
 /**
  * Test creation of XML document with multiple keys.
  *
  * @return void
  */
 public function testAsXMLMultiKey()
 {
     $document = new DeleteDocument();
     $document->addKeys(['foo', 'bar']);
     $xml = $document->asXML();
     $this->assertXmlStringEqualsXmlString('<delete><id>foo</id><id>bar</id></delete>', $xml);
 }