public function testWritesALineForEachIterationShowingItsIndex() { $this->log->newGeneration([23], 42); $this->assertEquals("[2011-03-13T07:06:40+00:00][1234] iteration 42: [23]" . PHP_EOL, file_get_contents($this->file)); }