def METHOD_NAME(datestamp, timestamp, timestamp_dst, time_zone, expected):
    from datadog_checks.ibm_mq.utils import calculate_elapsed_time
    assert (
        abs(
            calculate_elapsed_time(datestamp, timestamp, time_zone)
            - calculate_elapsed_time(datestamp, timestamp_dst, time_zone)
        )
        == expected
    )