function createRedirectModel(values = {}) {
    const get = sinon.stub();
    get.withArgs('updated_at').returns(values.updated_at || new Date('2022-10-20T00:00:10.000Z'));
    get.withArgs('created_at').returns(values.created_at || new Date('2022-10-20T00:00:00.000Z'));
    get.withArgs('from').returns(values.from || '/r/1234abcd');
    get.withArgs('to').returns(values.to || 'https://google.com');
    return {
        id: values.id || '662194931d0ba6fb37c080ee',
        get
    };
}
Create a stubbed LinkRedirect Bookshelf model for testing, with overridable values

@param {object} [values] - Values to override in the stubbed LinkRedirect model
@param {string} [values.id] - The ID of the model
@param {Date} [values.updated_at] - The updated_at date of the model
@param {Date} [values.created_at] - The created_at date of the model
@param {string} [values.from] - The from URL path of the model (path only)
@param {string} [values.to] - The to URL of the model (full URL including protocol, but not a URL object)
@returns {object} - A stubbed LinkRedirect Bookshelf model