def METHOD_NAME(self):
    image_processor = self.get_image_processor()
    tokenizer = self.get_tokenizer()
    processor = BlipProcessor(tokenizer=tokenizer, image_processor=image_processor)
    input_str = "lower newer"
    encoded_processor = processor(text=input_str)
    encoded_tok = tokenizer(input_str)
    for key in encoded_tok.keys():
        self.assertListEqual(encoded_tok[key], encoded_processor[key])