code: def test_loads_params_without_any_specific_targets(dvc):
      stage = Stage(dvc)
      deps = loads_params(
          stage,
          [
              "foo",
              {"params.yaml": None},
              {"a_file": []},
              {"b_file": ["baz"]},
              {"b_file": ["bat"]},
              {"a_file": ["foobar"]},
          ],
      )
      assert len(deps) == 3
  
      assert isinstance(deps[0], ParamsDependency)
      assert deps[0].def_path == ParamsDependency.DEFAULT_PARAMS_FILE
      assert deps[0].params == []
      assert not deps[0].hash_info
  
      assert isinstance(deps[1], ParamsDependency)
      assert deps[1].def_path == "a_file"
      assert deps[1].params == []
      assert not deps[1].hash_info
  
      assert isinstance(deps[2], ParamsDependency)
      assert deps[2].def_path == "b_file"
      assert deps[2].params == ["baz", "bat"]
      assert not deps[2].hash_info
  
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 2 for calling a global function with example usage: test_loads_params_without_any_specific_targets(dvc) without return types