public function testRemoveEdge()
{
// 1 -- 2
$graph = new Graph();
$v1 = $graph->createVertex(1);
$v2 = $graph->createVertex(2);
$edge = $v1->createEdge($v2);
$this->assertEquals(array($edge), $graph->getEdges()->getVector());
$edge->destroy();
//$graph->removeEdge($edge);
$this->assertEquals(array(), $graph->getEdges()->getVector());
return $graph;
}