public function testHasTag()
{
$transport_mock = M::mock('Gittern\\Transport\\TransportInterface');
$this->repo->setTransport($transport_mock);
$transport_mock->shouldReceive('resolveTag')->with('foo')->andReturn('deadbeefcafe')->once();
$transport_mock->shouldReceive('resolveTag')->with('bar')->andReturn(null)->once();
$this->assertTrue($this->repo->hasTag('foo'));
$this->assertFalse($this->repo->hasTag('bar'));
}