def METHOD_NAME(self):
    feature_extractor = self.get_feature_extractor()
    tokenizer = self.get_tokenizer()
    processor = SpeechT5Processor(tokenizer=tokenizer, feature_extractor=feature_extractor)
    input_str = "This is a test string"
    encoded_processor = processor(text_target=input_str)
    encoded_tok = tokenizer(input_str)
    for key in encoded_tok.keys():
        self.assertListEqual(encoded_tok[key], encoded_processor[key])