public function testMemoryUsed()
 {
     $memoryUsed = 11;
     $this->assertSame(0, $this->entity->getMemoryUsed());
     $this->entity->setMemoryUsed($memoryUsed);
     $this->assertSame($memoryUsed, $this->entity->getMemoryUsed());
 }
 /**
  * Gets the content for the result line
  *
  * @param JobStats $jobStats
  * @return string
  * @author Daniel Wendlandt
  */
 private function getResultLineForOutput(JobStats $jobStats)
 {
     $line = '<info>Finished in <comment>%s</comment>' . ' - MemoryUsed: <comment>%s</comment>' . ' - MemoryUsage: <comment>%s</comment>' . ' - MemoryUsageReal: <comment>%s</comment></info>';
     return sprintf($line, TimeTakenHelper::convert($jobStats->getTimeTaken()), DataSizeHelper::convert($jobStats->getMemoryUsed()), DataSizeHelper::convert($jobStats->getMemoryUsage()), DataSizeHelper::convert($jobStats->getMemoryUsageReal()));
 }