public function testWillCreateNewIndexIfNoneExists()
{
$transport = M::mock('Gittern\\Transport\\TransportInterface', array('hasIndexData' => false));
$this->repo->setTransport($transport);
$this->assertInstanceOf('Gittern\\Entity\\Index', $this->repo->getIndex());
}