public function testIteration()
{
$logger = $this->createLogger(false);
$this->iteration->getIndex()->willReturn(0, 1, 2, 3, 4);
$this->output->write("\r|")->shouldBeCalled();
$this->output->write("\r/")->shouldBeCalled();
$this->output->write("\r-")->shouldBeCalled();
$this->output->write("\r|")->shouldBeCalled();
$this->output->write("\r\\")->shouldBeCalled();
$logger->iterationStart($this->iteration->reveal());
$logger->iterationStart($this->iteration->reveal());
$logger->iterationStart($this->iteration->reveal());
$logger->iterationStart($this->iteration->reveal());
$logger->iterationStart($this->iteration->reveal());
}