public function testLoop()
{
$edge = $this->createEdgeLoop();
$this->assertTrue($edge->isLoop());
$this->assertEquals(array($this->v1, $this->v1), $edge->getVertices()->getVector());
$this->assertSame($this->v1, $edge->getVertexFromTo($this->v1));
$this->assertSame($this->v1, $edge->getVertexToFrom($this->v1));
}