def METHOD_NAME(self):
    image_processor = self.get_image_processor()
    tokenizer = self.get_tokenizer()
    processor = MiniGPT4Processor(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", "first_input_ids", "first_attention_mask", "second_input_ids", "second_attention_mask"],
    )