/**
  * Logs progress
  *
  * @return void
  */
 private function logProgress()
 {
     if (!$this->progress) {
         return;
     }
     $this->progress->setNext();
     $this->log->logMeta(
         sprintf(self::PROGRESS_LOG_RENDER, $this->progress->getCurrent(), $this->progress->getTotal())
     );
 }
 public function testGetCurrent()
 {
     $progress = new Progress(10, 5);
     $this->assertEquals(5, $progress->getCurrent());
 }