def METHOD_NAME(self):
    with tempfile.TemporaryDirectory() as td:
        initial_datetime = datetime.datetime(
            year=2012, month=8, day=13, hour=14, minute=4
        )
        with freeze_time(initial_datetime) as frozen_datetime:
            sample = TimeBucketizer(
                datetime.timedelta(minutes=1), td, "hasher", "3"
            )
            for _ in range(5):
                for _ in range(3):
                    sample.add_record(SampleCSViableClass())
                frozen_datetime.tick(delta=datetime.timedelta(minutes=1))
            sample.add_record(SampleCSViableClass())
            fileContent = sample.get_records(
                initial_datetime,
                datetime.datetime.now(),
                "hasher",
                td,
                datetime.timedelta(minutes=1),
                SampleCSViableClass,
            )
            to_compare = [SampleCSViableClass()] * 5 * 3
            self.assertEqual(fileContent, to_compare, "Invalid data")