/** @test */ public function it_can_set_and_retrieve_the_link_repository() { $linkRepository = m::mock('Cartalyst\\Sentinel\\Addons\\Social\\Repositories\\LinkRepositoryInterface'); $this->manager->setLinksRepository($linkRepository); $this->assertSame($linkRepository, $this->manager->getLinksRepository()); }