/**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  *
  * @covers Kunstmaan\MediaBundle\Helper\File\PdfHandler::__construct
  * @covers Kunstmaan\MediaBundle\Helper\File\PdfHandler::setPdfTransformer
  */
 protected function setUp()
 {
     $this->pdfTransformer = $this->getMock('Kunstmaan\\MediaBundle\\Helper\\Transformer\\PreviewTransformerInterface');
     $this->filesDir = realpath(__DIR__ . '/../../Files');
     $this->object = new PdfHandler();
     $this->object->setPdfTransformer($this->pdfTransformer);
 }
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  *
  * @covers Kunstmaan\MediaBundle\Helper\File\PdfHandler::__construct
  * @covers Kunstmaan\MediaBundle\Helper\File\PdfHandler::setPdfTransformer
  */
 protected function setUp()
 {
     $this->pdfTransformer = $this->getMock('Kunstmaan\\MediaBundle\\Helper\\Transformer\\PreviewTransformerInterface');
     $mockMimeTypeGuesserfactory = $this->getMock('Kunstmaan\\MediaBundle\\Helper\\MimeTypeGuesserFactoryInterface');
     $mockExtensionGuesserfactory = $this->getMock('Kunstmaan\\MediaBundle\\Helper\\ExtensionGuesserFactoryInterface');
     $this->filesDir = realpath(__DIR__ . '/../../Files');
     $this->object = new PdfHandler(1, $mockMimeTypeGuesserfactory, $mockExtensionGuesserfactory);
     $this->object->setPdfTransformer($this->pdfTransformer);
 }