/**
  * @test
  */
 public function addErrorOutputsTestNameHtmlSpecialchared()
 {
     $testName = '<b>b</b>';
     /** @var $testCase PHPUnit_Framework_TestCase|PHPUnit_Framework_MockObject_MockObject */
     $testCase = $this->getMock('PHPUnit_Framework_TestCase', array('run'), array($testName));
     $time = 0.0;
     $this->fixture->addError($testCase, new Exception(), $time);
     $this->assertContains(htmlspecialchars($testName), $this->outputService->getCollectedOutput());
     $this->assertNotContains($testName, $this->outputService->getCollectedOutput());
 }