コード例 #1
0
ファイル: InternalLinksTest.php プロジェクト: Silwereth/sulu
 public function setUp()
 {
     parent::setUp();
     $this->contentQueryExecutor = $this->prophesize('Sulu\\Component\\Content\\Query\\ContentQueryExecutorInterface');
     $this->contentQueryBuilder = $this->prophesize('Sulu\\Component\\Content\\Query\\ContentQueryBuilderInterface');
     $this->logger = $this->prophesize('Psr\\Log\\LoggerInterface');
     $this->property = $this->prophesize('Sulu\\Component\\Content\\Compat\\PropertyInterface');
     $this->type = new InternalLinks($this->contentQueryExecutor->reveal(), $this->contentQueryBuilder->reveal(), $this->logger->reveal(), 'some_template.html.twig');
 }