/**
  * @param Processor $compiler
  */
 public function add(Processor $compiler)
 {
     $this->list[$compiler->getFileExtension()] = $compiler;
 }
 protected function assertProcess($expected, $current, $file = 'example.file')
 {
     $this->fileSystem->setContent($file, $current);
     $this->assertEquals($expected, $this->target->process($file));
 }
 /**
  * @inheritdoc
  */
 public function getOutputMimeType()
 {
     return $this->processor->getOutputMimeType();
 }