def METHOD_NAME(
    subscriber_list_table, get_dataframe, subscriber_list
):
    """
    We can subset CDRs by a table in the database.
    """
    su = EventTableSubset(
        start="2016-01-01", stop="2016-01-03", subscriber_subset=subscriber_list_table
    )
    df = get_dataframe(su)
    # Get the set of subscribers present in the dataframe, we need to handle the logic
    # of msisdn_from/msisdn_to
    calculated_subscriber_set = set(df.subscriber)
    assert calculated_subscriber_set == set(subscriber_list)