def METHOD_NAME(self, attr_window, start_date, end_date):
    """
        Test to check the attribution window
    """
    expected_streams = self.streams_to_test()
    conn_id = connections.ensure_connection(self)
    # calculate start date with attribution window
    start_date_with_attribution_window = self.timedelta_formatted(
        start_date, days=-attr_window, date_format=self.START_DATE_FORMAT
    )
    # Run in check mode
    found_catalogs = self.run_and_verify_check_mode(conn_id)
    # Select only the expected streams tables
    catalog_entries = [ce for ce in found_catalogs if ce['tap_stream_id'] in expected_streams]
    self.perform_and_verify_table_and_field_selection(conn_id, catalog_entries, select_all_fields=True)
    # Run a sync job using orchestrator
    self.run_and_verify_sync(conn_id)
    sync_records = runner.get_records_from_target_output()
    expected_replication_keys = self.expected_replication_keys()
    for stream in expected_streams:
        with self.subTest(stream=stream):
            replication_key = next(iter(expected_replication_keys[stream]))
            # get records
            records = [record.get('data') for record in sync_records.get(stream).get('messages')]
            # check for the record is between attribution date and start date
            is_between = False
            for record in records:
                replication_key_value = record.get(replication_key)
                # Verify the sync records respect the attribution window
                self.assertGreaterEqual(self.parse_date(replication_key_value), self.parse_date(start_date_with_attribution_window),
                                        msg="The record does not respect the attribution window.")
                # verify if the record's bookmark value is between start date and attribution window
                if self.parse_date(start_date_with_attribution_window) <= self.parse_date(replication_key_value) <= self.parse_date(start_date):
                    is_between = True
                self.assertTrue(is_between)