def METHOD_NAME(self, mocked_init):
    lm_srun = Srun('', {}, None, None, None)
    lm_info = {'env'    : {'test_env': 'test_value'},
               'env_sh' : 'env/lm_srun.sh',
               'command': '/bin/srun',
               'version': '19.05.2',
               'vmajor' : 19}
    lm_srun._init_from_info(lm_info)
    self.assertEqual(lm_srun._env,     lm_info['env'])
    self.assertEqual(lm_srun._env_sh,  lm_info['env_sh'])
    self.assertEqual(lm_srun._command, lm_info['command'])
    self.assertEqual(lm_srun._version, lm_info['version'])
    self.assertEqual(lm_srun._vmajor,  lm_info['vmajor'])
    lm_info['command'] = ''
    with self.assertRaises(AssertionError):
        lm_srun._init_from_info(lm_info)