def METHOD_NAME(self, mocked_which, mocked_init):
    lm_aprun = APRun('', {}, None, None, None)
    lm_info = lm_aprun._init_from_scratch({}, '')
    self.assertEqual(lm_info['command'], mocked_which())