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 addCompiler_successWithClass()
 {
     $this->target->addCompiler(DummyProcessor::class);
     $list = $this->compiler->getAdded();
     $this->assertNotEmpty($list);
     $this->assertInstanceOf(DummyProcessor::class, reset($list));
 }