spec\Newscoop\GimmeBundle\Serializer\Topic\TopicPathHandlerSpec::let PHP Method

let() public method

public let ( $die, EntityManager $entityManager, TopicRepository $topicRepository )
$entityManager Doctrine\ORM\EntityManager
$topicRepository Newscoop\NewscoopBundle\Entity\Repository\TopicRepository
    public function let($die, EntityManager $entityManager, TopicRepository $topicRepository)
    {
        $entityManager->getRepository('Newscoop\\NewscoopBundle\\Entity\\Topic')->willReturn($topicRepository);
        $this->beConstructedWith($entityManager);
    }