def METHOD_NAME(self, mocked_which, mocked_init):
    lm_jsrun = JSRUN('', {}, None, None, None)
    lm_jsrun.name = 'JSRUN'
    lm_info = lm_jsrun._init_from_scratch({}, '')
    self.assertEqual(lm_info['command'], mocked_which())
    self.assertFalse(lm_info['erf'])
    lm_jsrun.name = 'JSRUN_ERF'
    lm_info = lm_jsrun._init_from_scratch({}, '')
    self.assertTrue(lm_info['erf'])