public function testRemoveWithEdgeLoopUndirected()
{
// 1 -- 1
$edge = $this->vertex->createEdge($this->vertex);
$this->assertEquals(array(1 => $this->vertex), $this->graph->getVertices()->getMap());
$this->vertex->destroy();
$this->assertEquals(array(), $this->graph->getVertices()->getVector());
$this->assertEquals(array(), $this->graph->getEdges()->getVector());
}