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