def METHOD_NAME(self):
    self.args_mock = MagicMock()
    self.args_mock.optimizer_overrides = '{}'
    self.args_mock.reset_dataloader = False
    self.args_mock.reset_meters = False
    self.args_mock.reset_optimizer = False
    self.patches = {
        'os.makedirs': MagicMock(),
        'os.path.join': MagicMock(),
        'os.path.isfile': MagicMock(return_value=True),
        'os.path.isabs': MagicMock(return_value=False),
    }
    self.applied_patches = [patch(p, d) for p, d in self.patches.items()]
    [p.start() for p in self.applied_patches]