/** * Test * * @return void */ public function testRemoveElement() { $mvcEvent = Registry::get('Application')->getMvcEvent(); $mvcEvent->setTarget($this->document); //Create xml $this->assertNull($this->object->addElement($mvcEvent)); //Delete Element $this->assertNull($this->object->removeElement($mvcEvent)); }