public function testRemoveWithLoop()
{
$edge = $this->createEdgeLoop();
$this->assertEquals(array($this->edge, $edge), $this->graph->getEdges()->getVector());
$edge->destroy();
$this->assertEquals(array($this->edge), $this->graph->getEdges()->getVector());
$this->assertEquals(array($this->v1, $this->v2), $this->graph->getVertices()->getVector());
}