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