def METHOD_NAME(self):
    with tempfile.TemporaryDirectory() as td:
        with freeze_time(datetime.datetime.now()) as frozen_datetime:
            VALUE_1 = 5
            VALUE_2 = 10
            VALUE_3 = 3
            expected_records = []
            for i in range(VALUE_1):
                for i in range(VALUE_2):
                    sample = TimeBucketizer(
                        datetime.timedelta(minutes=1), td, "hasher", str(i)
                    )
                    for i in range(VALUE_3):
                        content = "".join(
                            random.choice(string.ascii_lowercase) for _ in range(10)
                        )
                        new_record = HashRecord(content, str(i))
                        sample.add_record(new_record)
                        expected_records.append(new_record)
                    sample.force_flush()
                frozen_datetime.tick(delta=datetime.timedelta(minutes=1))
            frozen_datetime.tick(delta=datetime.timedelta(minutes=1))
            frozen_datetime.tick(delta=datetime.timedelta(minutes=1))
            frozen_datetime.tick(delta=datetime.timedelta(minutes=1))
            file_count_prev = self.get_file_count(td)
            TimeBucketizer.squash_content(
                "hasher",
                td,
                datetime.timedelta(minutes=1),
                datetime.datetime.now() - datetime.timedelta(days=1),
                datetime.datetime.now() - datetime.timedelta(minutes=2),
            )
            records = TimeBucketizer.get_records(
                datetime.datetime.now() - datetime.timedelta(minutes=10),
                datetime.datetime.now(),
                "hasher",
                td,
                datetime.timedelta(minutes=1),
                HashRecord,
            )
            now = datetime.datetime(2012, 8, 13, 14, 4, 0)
            file_count = self.get_file_count(td)
            self.assertEqual(len(records), VALUE_1 * VALUE_2 * VALUE_3)
            self.assertCountEqual(records, expected_records)
            self.assertEqual(file_count_prev, VALUE_1 * VALUE_2)
            self.assertEqual(file_count, VALUE_1)