public function testIterationsEndException()
{
$logger = $this->createLogger(false);
$this->variant->hasErrorStack()->willReturn(true);
$this->variant->getRejectCount()->willReturn(0);
$this->output->write("\r<error>E</error> ")->shouldBeCalled();
$logger->variantEnd($this->variant->reveal());
}