def METHOD_NAME(self):
    config_first = self.config_class(**self.inputs_dict)
    with tempfile.TemporaryDirectory() as tmpdirname:
        json_file_path = os.path.join(tmpdirname, "config.json")
        config_first.to_json_file(json_file_path)
        config_second = self.config_class.from_json_file(json_file_path)
    self.parent.assertEqual(config_second.to_dict(), config_first.to_dict())