segment = $this->getSegment(); $this->subscriber = $this->getSubscriber($this->segment); $this->formRenderer = $this->diContainer->get(ManageSubscriptionFormRenderer::class); parent::_before(); } public function testItGeneratesForm() { $form = $this->formRenderer->renderForm($this->subscriber); verify($form)->stringMatchesRegExp('/