def METHOD_NAME(self, mocker, relative_url: list):
    """
    Given
        - A relative url, sometimes with trailing spaces.
        check the following scenarios-
        (A) - assume-yes flag is on.
        (B) - request to add prefix.
        (C) - request to change url.
        (D) - request to skip.
    When
        - Run get_new_url_from_user.
    Then
        - Ensure the new url is as expected.
        (A) - https:// is added to address.
        (B) - https:// is added to address.
        (C) - New url is returned.
        (D) - None is returned.
    """
    stripped_url = str.strip(relative_url[1])
    readme_url = ReadmeUrl(relative_url[0], relative_url[1], relative_url[2])
    assert get_new_url_from_user_assume_yes(readme_url) == f"https://{stripped_url}"
    assert (
        get_new_url_from_user_add_prefix(mocker, readme_url)
        == f"https://{stripped_url}"
    )
    assert (
        get_new_url_from_user_change_url(mocker, readme_url)
        == "https://goodurl.com"
    )
    assert get_new_url_from_user_skip(mocker, readme_url) is None