/**
  * @param string $testName
  */
 public function paintMethodEnd($testName)
 {
     $elapsedTime = microtime(true) - $this->methodStartTime;
     parent::paintMethodEnd($testName);
     $this->junitXMLWriter->endTestCase($elapsedTime, $this->assertionCount);
     $this->methodStarted = false;
     if ($this->caseIsArtificial) {
         $this->paintCaseEnd(\SimpleTest::getContext()->getTest()->getLabel());
     }
 }
 protected function finishRendering()
 {
     $this->junitXMLWriter->endTestSuite();
     $this->junitXMLWriter->endTestSuites();
 }