def METHOD_NAME(
    mock_user_input, mock_datasource
):
    files = [f"my_file{n}" for n in range(200)]
    target_file = "my_file2021-12-30"
    files.append(target_file)
    mock_datasource.get_available_data_asset_names.return_value = {
        "my_data_connector": files
    }
    mock_user_input.side_effect = [
        "s",  # Select search option
        "my_file20",  # Filter listing
        r"my_file\d{4}-\d{2}-\d{2}",  # Use regex to isolate one file with date format
        "1",  # Select the 1st and only option
    ]
    data_asset_name = _get_data_asset_name_from_data_connector(
        mock_datasource, "my_data_connector", "my message prompt"
    )
    assert data_asset_name == target_file