public function setUp()
 {
     parent::setUp();
     $this->renderer = new PdfRenderer();
     $this->resolver = new TemplatePathStack();
     $this->resolver->addPath(dirname(__DIR__) . '/_templates');
     $this->renderer->setResolver($this->resolver);
     $htmlRenderer = new PhpRenderer();
     $htmlRenderer->setResolver($this->resolver);
     $this->renderer->setHtmlRenderer($htmlRenderer);
     $this->renderer->setEngine($this->serviceManager->get('dompdf'));
 }
 public function setUp()
 {
     parent::setUp();
     $model = new PdfTextLineFont();
     $this->model = $model;
 }