def METHOD_NAME(self, gpt_model, test_text):
    assert isinstance(gpt_model.tokenizer, AutoTokenizer)
    assert gpt_model.tokenizer.name == 'GPT2Tokenizer'
    assert gpt_model.tokenizer.vocab_size == 50257
    ids = [gpt_model.tokenizer.text_to_ids(text) for text in test_text]
    true_ids = [
        [31373, 11, 995],
        [14337, 4776, 290, 3598, 812, 2084],
        [7120, 640, 318, 3614],
        [1532, 345, 900, 4661, 2266, 291, 18117, 1029],
    ]
    assert sum([id_list == true_id_list for id_list, true_id_list in zip(ids, true_ids)]) == 4