def METHOD_NAME():
    cron_foreman = CronForeman(context_wrap(CRON_FOREMAN_SAMPLE2))
    assert len(cron_foreman.jobs) == 3
    assert len(cron_foreman.invalid_lines) == 1
    assert len(cron_foreman.environment) == 2
    assert 'SHELL' in cron_foreman.environment
    assert cron_foreman.environment.get('SHELL') == '/bin/sh'
    assert 'testinvaludline' in cron_foreman.invalid_lines[0]
    assert 'reports:expire' in cron_foreman.jobs[1].get('command')
    assert cron_foreman.jobs[1]['minute'] == '0'
    assert cron_foreman.jobs[1]['hour'] == '0'
    assert 'time' in cron_foreman.jobs[2]
    assert '@reboot' == cron_foreman.jobs[2].get('time')