logHtml() public method

public logHtml ( )
 public function testRuleSet()
 {
     $configuration = new Configuration('path/to/rule_set', 'path/to/container.xml', true, 'path/to/cache/dir/', '', true, true, 'html.log');
     $this->assertEquals('path/to/rule_set', $configuration->ruleSet());
     $this->assertEquals('path/to/container.xml', $configuration->containerPath());
     $this->assertTrue($configuration->useCachedRuleSet());
     $this->assertEquals('path/to/cache/dir/', $configuration->ruleSetCacheDir());
     $this->assertEquals('', $configuration->filteredMethodCalls());
     $this->assertTrue($configuration->failOnDeprecation());
     $this->assertTrue($configuration->isVerbose());
     $this->assertEquals('html.log', $configuration->logHtml());
 }
 /**
  * @param Configuration   $configuration
  * @param OutputInterface $output
  * @return ConsoleOutputRenderer|Violation\Renderer\Html\Renderer
  */
 private function getRenderer(Configuration $configuration, OutputInterface $output)
 {
     $messageHelper = $this->getMessageHelper();
     if ($logFilePath = $configuration->logHtml()) {
         $factory = new RendererFactory($messageHelper, new Filesystem());
         return $factory->createHtmlOutputRenderer($logFilePath);
     }
     return new ConsoleOutputRenderer($output, $messageHelper);
 }