def METHOD_NAME(self):
    processor = ErnieViLProcessor(tokenizer=self.get_tokenizer(), image_processor=self.get_image_processor())
    processor.save_pretrained(self.tmpdirname)
    tokenizer_add_kwargs = self.get_tokenizer(cls_token="(CLS)", sep_token="(SEP)")
    image_processor_add_kwargs = self.get_image_processor(do_normalize=False)
    processor = ErnieViLProcessor.from_pretrained(
        self.tmpdirname, cls_token="(CLS)", sep_token="(SEP)", do_normalize=False
    )
    self.assertEqual(processor.tokenizer.get_vocab(), tokenizer_add_kwargs.get_vocab())
    self.assertEqual(processor.image_processor.to_json_string(), image_processor_add_kwargs.to_json_string())
    self.assertIsInstance(processor.image_processor, ErnieViLImageProcessor)