private function stubFileWithProcessor($file, $return, $mimeType)
 {
     $this->files->add($file);
     $processor = new ProcessorStub();
     $processor->set($file, $return);
     $processor->setOutputMimeType($mimeType);
     $processor->setLastModified($file, new DateTime());
     $processor->setFiles($file, [$file => new DateTime()]);
     $this->processor->set($file, $processor);
 }
 /**
  * @test
  */
 public function getOutputMimeType_success()
 {
     $this->processor->setOutputMimeType('example.file');
     $this->assertEquals('example.file', $this->target->getOutputMimeType());
     $this->assertNull($this->cache->getEntry('example.file'));
 }