/**
  * @throws \InvalidArgumentException
  */
 protected function setUp()
 {
     $this->subject = $this->getAccessibleMock(TypolinkViewHelper::class, array('renderChildren'));
     /** @var RenderingContext  $renderingContext */
     $renderingContext = $this->getMock(RenderingContext::class);
     $this->subject->setRenderingContext($renderingContext);
 }
 /**
  * @throws \InvalidArgumentException
  */
 protected function setUp()
 {
     $this->subject = $this->getAccessibleMock(TypolinkViewHelper::class, array('renderChildren'));
     /** @var RenderingContext  $renderingContext */
     $renderingContext = $this->getMock(\TYPO3\CMS\Fluid\Tests\Unit\Core\Rendering\RenderingContextFixture::class);
     $this->subject->setRenderingContext($renderingContext);
 }