/**
  * @test
  */
 public function isEnable()
 {
     $this->preCommitConfig->setEnabled(true);
     $this->codeSnifferHandler->shouldReceive('setOutput');
     $this->codeSnifferHandler->shouldReceive('setFiles');
     $this->codeSnifferHandler->shouldReceive('setNeddle');
     $this->codeSnifferHandler->shouldReceive('run');
     $this->checkCodeStyleCodeSnifferPreCommitExecutor->run($this->outputInterface, array(), 'needle');
 }
 /**
  * @test
  */
 public function isEnabled()
 {
     $this->preCommitConfig->setEnabled(true);
     $this->checkPhpMessDetectionPreCommitExecutor->run($this->outputInterface, array(), 'neddle');
 }
 /**
  * @test
  */
 public function isEnabled()
 {
     $this->preCommitConfig->setExtraOptions(['enabled' => true, 'standard' => 'PSR2']);
     $this->checkCodeStyleCodeSnifferPreCommitExecutor->run($this->outputInterface, array(), 'neddle');
 }