public function testNormalRecurrenceExceptionShouldHaveNoExtensionElements()
 {
     $this->recurrenceException->specialized = "false";
     $this->assertEquals("false", $this->recurrenceException->specialized);
     $this->assertEquals(0, count($this->recurrenceException->extensionElements));
     $newRecurrenceException = new Zend_Gdata_Extension_RecurrenceException();
     $newRecurrenceException->transferFromXML($this->recurrenceException->saveXML());
     $this->assertEquals(0, count($newRecurrenceException->extensionElements));
     $newRecurrenceException->extensionElements = array(new Zend_Gdata_App_Extension_Element('foo', 'atom', null, 'bar'));
     $this->assertEquals(1, count($newRecurrenceException->extensionElements));
     $this->assertEquals("false", $newRecurrenceException->specialized);
     /* try constructing using magic factory */
     $gdata = new Zend_Gdata();
     $newRecurrenceException2 = $gdata->newRecurrenceException();
     $newRecurrenceException2->transferFromXML($newRecurrenceException->saveXML());
     $this->assertEquals(1, count($newRecurrenceException2->extensionElements));
     $this->assertEquals("false", $newRecurrenceException2->specialized);
 }