Definition at line 8 of file TooManyMatchesTest.php.
◆ testSerialize()
Sabre\DAV\Exception\TooManyMatchesTest::testSerialize |
( |
| ) |
|
Definition at line 10 of file TooManyMatchesTest.php.
References Sabre\VObject\$output, and $root.
13 $dom->formatOutput =
true;
14 $root = $dom->createElement(
'd:root');
16 $dom->appendChild(
$root);
17 $root->setAttribute(
'xmlns:d',
'DAV:');
19 $locked =
new TooManyMatches();
21 $locked->serialize(
new DAV\Server(),
$root);
25 $expected =
'<?xml version="1.0"?> 26 <d:root xmlns:d="DAV:"> 27 <d:number-of-matches-within-limits xmlns:d="DAV:"/> 31 $this->assertEquals($expected,
$output);
The documentation for this class was generated from the following file: