def METHOD_NAME(self):
    image_processor = self.get_image_processor()
    tokenizer = self.get_tokenizer()
    processor = VisionTextDualEncoderProcessor(tokenizer=tokenizer, image_processor=image_processor)
    input_str = "lower newer"
    image_input = self.prepare_image_inputs()
    inputs = processor(text=input_str, images=image_input)
    self.assertListEqual(list(inputs.keys()), ["input_ids", "token_type_ids", "attention_mask", "pixel_values"])
    # test if it raises when no input is passed
    with self.assertRaises(ValueError):
        processor()