def METHOD_NAME(self) -> None:
    sample_dict: param_domain.ParamSpecDict = {
        'obj_type': 'UnicodeString'
    }
    param_spec = param_domain.ParamSpec.from_dict(sample_dict)
    self.assertEqual(param_spec.to_dict(), sample_dict)