public function testLogError()
{
$this->variant->hasErrorStack()->willReturn(true);
$this->variant->getSubject()->willReturn($this->subject->reveal());
$this->subject->getName()->willReturn('benchFoo');
$this->output->write(Argument::containingString('ERROR'))->shouldBeCalled();
$this->output->write(PHP_EOL)->shouldBeCalled();
$this->logger->variantEnd($this->variant->reveal());
}