public function testNormalEventStatusShouldHaveNoExtensionElements()
 {
     $this->eventStatus->value = "http://schemas.google.com/g/2005#event.tentative";
     $this->assertEquals("http://schemas.google.com/g/2005#event.tentative", $this->eventStatus->value);
     $this->assertEquals(0, count($this->eventStatus->extensionElements));
     $newEventStatus = new Zend_Gdata_Extension_EventStatus();
     $newEventStatus->transferFromXML($this->eventStatus->saveXML());
     $this->assertEquals(0, count($newEventStatus->extensionElements));
     $newEventStatus->extensionElements = array(new Zend_Gdata_App_Extension_Element('foo', 'atom', null, 'bar'));
     $this->assertEquals(1, count($newEventStatus->extensionElements));
     $this->assertEquals("http://schemas.google.com/g/2005#event.tentative", $newEventStatus->value);
     /* try constructing using magic factory */
     $gdata = new Zend_Gdata();
     $newEventStatus2 = $gdata->newEventStatus();
     $newEventStatus2->transferFromXML($newEventStatus->saveXML());
     $this->assertEquals(1, count($newEventStatus2->extensionElements));
     $this->assertEquals("http://schemas.google.com/g/2005#event.tentative", $newEventStatus2->value);
 }