assertInstanceOf('Sabre\CalDAV\Xml\Property\SupportedCollationSet', $scs); } /** * @depends testSimple */ function testSerialize() { $property = new SupportedCollationSet(); $this->namespaceMap[CalDAV\Plugin::NS_CALDAV] = 'cal'; $xml = $this->write(['{DAV:}root' => $property]); $this->assertXmlStringEqualsXmlString( ' i;ascii-casemap i;octet i;unicode-casemap ', $xml); } }