isEnabled() public method

Returns true when this analyzer is enabled.
public isEnabled ( ) : boolean
return boolean
 /**
  * testAnalyzerIsEnabledReturnsTrueWhenCoverageReportFileWasSupplied
  *
  * @return void
  */
 public function testAnalyzerIsEnabledReturnsTrueWhenCoverageReportFileWasSupplied()
 {
     $options = array('coverage-report' => $this->_createCloverReportFile());
     $analyzer = new CrapIndexAnalyzer($options);
     $this->assertTrue($analyzer->isEnabled());
 }