public function testIterationsEndException()
{
$this->variant->hasErrorStack()->willReturn(true);
$this->variant->getRejectCount()->willReturn(0);
$this->variant->getSubject()->willReturn($this->subject->reveal());
$this->variant->count()->willReturn(10);
$this->subject->getName()->willReturn('benchFoo');
$this->output->writeln(Argument::containingString('ERROR'))->shouldBeCalled();
$this->logger->variantEnd($this->variant->reveal());
}