/**
  * Test that children can access their parents
  * @todo I'm not sure that this is even necessary. See comments for qCal_Component::attach() for reasoning
  * behind this.
  */
 public function testAccessToParent()
 {
     $vtodo = new qCal_Component_Vtodo(array('summary' => 'Foo', 'description' => 'Foobar'));
     $valarm = new qCal_Component_Valarm(array('trigger' => '-P15M', 'action' => 'display', 'summary' => 'Foo', 'description' => 'Foobar'));
     $this->assertNull($valarm->getParent());
     $vtodo->attach($valarm);
     $this->assertIdentical($valarm->getParent(), $vtodo);
 }