def METHOD_NAME(cls):
    print(
        "\n\n**********************************\nTEST Continual Transformer Encoder Learner\n"
        "**********************************"
    )
    cls.temp_dir = Path("./tests/sources/tools/perception/activity_recognition/temp")
    cls.learner = CoTransEncLearner(
        batch_size=_BATCH_SIZE,
        device=device,
        input_dims=8,
        hidden_dims=32,
        sequence_len=64,
        num_heads=8,
        num_classes=4,
        temp_path=str(cls.temp_dir),
    )
    cls.train_ds = DummyTimeseriesDataset(sequence_len=64, num_sines=8, num_datapoints=128)
    cls.val_ds = DummyTimeseriesDataset(
        sequence_len=64, num_sines=8, num_datapoints=128, base_offset=64
    )