def METHOD_NAME(self, time):
    """
    Helper, a context manager to set the current time value.
    """
    # Set the current time within `util` module
    mock_time = patch("utils.timer.time.time")
    mock_time.start().return_value = time
    # Yield
    yield
    # Unset the time mock
    mock_time.stop()