code: def test_dumpd_with_info(dvc):
      dep = ParamsDependency(Stage(dvc), None, PARAMS)
      assert dep.dumpd() == {
          "path": DEFAULT_PARAMS_FILE,
          "params": PARAMS,
      }
  
imports: import pytest
  from dvc.dependency import ParamsDependency, loadd_from, loads_params
  from dvc.dependency.param import BadParamFileError, MissingParamsError
  from dvc.stage import Stage
  from dvc.utils.serialize import dump_toml, dump_yaml, load_yaml
label_desc: Use image node_id 5 for calling a global function with example usage: test_dumpd_with_info(dvc) without return types