def METHOD_NAME(self):
    image_processor = self.get_image_processor()
    tokenizer = self.get_tokenizer()
    processor = Blip2Processor(tokenizer=tokenizer, image_processor=image_processor)
    input_str = "lower newer"
    image_input = self.prepare_image_inputs()
    inputs = processor(text=input_str, images=image_input)
    # For now the processor supports only ['pixel_values', 'input_ids', 'attention_mask']
    self.assertListEqual(list(inputs.keys()), ["pixel_values", "input_ids", "attention_mask"])