public function it_gets_link(ProviderInterface $provider)
{
$provider->getName()->willReturn('test')->shouldBeCalled();
$provider->getLink('http://dunglas.fr', array())->willReturn('http://example.com')->shouldBeCalled();
$this->registerProvider($provider);
$this->getLink('test', 'http://dunglas.fr')->shouldReturn('http://example.com');
}