def METHOD_NAME(self):
    self.gitInstalled = True
    command = []
    env = {}
    with self.assertRaises(Exception):
        self.adjustCommandParamsForSshPrivateKey(command, env,
                                                 'path/to/key')