def METHOD_NAME(self):
    for tf_tokenizer in self.tf_tokenizers:
        # for the test to run
        tf_tokenizer.pad_token_id = 123123
        for max_length in [3, 5, 1024]:
            test_inputs = tf.convert_to_tensor([self.test_sentences[0]])
            out = tf_tokenizer(test_inputs, max_length=max_length)
            out_length = out["input_ids"].numpy().shape[1]
            assert out_length == max_length