public function testParseFromFile()
{
$this->crontabFileHandler->parseFromFile($this->crontab, $this->fixturesDir . '/crontab');
$this->assertCount(2, $this->crontab->getJobs());
$jobs = $this->crontab->getJobs();
$job1 = array_shift($jobs);
$job2 = array_shift($jobs);
$this->assertEquals('cmd', $job1->getCommand());
$this->assertEquals('cmd2', $job2->getCommand());
}