function it_expands_a_url(Provider $provider, PoolInterface $pool, ItemInterface $item)
{
$item->isMiss()->willReturn(true);
$item->set('http://any.url')->shouldBeCalled();
$pool->getItem(md5('http://short.ly/1234'))->willReturn($item);
$provider->expand('http://short.ly/1234')->willReturn('http://any.url');
$this->expand('http://short.ly/1234')->shouldReturn('http://any.url');
}