Example #1
0
 /**
  * Check this equality:
  *     XML -> object model -> MIME Dir.
  */
 protected function assertXMLEqualsToMimeDir($xml, $mimedir)
 {
     $component = VObject\Reader::readXML($xml);
     $this->assertVObjectEqualsVObject($mimedir, $component);
 }
Example #2
0
 /**
  * Check this equality:
  *     XML -> object model -> MIME Dir.
  */
 protected function assertXMLEqualsToMimeDir($xml, $mimedir)
 {
     $component = VObject\Reader::readXML($xml);
     $this->assertEquals($mimedir, VObject\Writer::write($component));
 }