code: def test_ddp_find_unused_parameters_strategy_registry(
      tmpdir, strategy_name, strategy, expected_init_params, mps_count_0
  ):
      trainer = Trainer(default_root_dir=tmpdir, strategy=strategy_name)
      assert isinstance(trainer.strategy, strategy)
      assert strategy_name in StrategyRegistry
      assert (
          StrategyRegistry[strategy_name]["init_params"]
          == expected_init_params
      )
      assert StrategyRegistry[strategy_name]["strategy"] == strategy
  
file_path: pytorch-lightning/tests/tests_pytorch/strategies/test_registry.py
imports: from unittest import mock
  import pytest
  from lightning.pytorch import Trainer
  from lightning.pytorch.plugins import CheckpointIO
  from lightning.pytorch.strategies import DDPStrategy, DeepSpeedStrategy, FSDPStrategy, StrategyRegistry, XLAStrategy
  from tests_pytorch.helpers.runif import RunIf
label_desc: Use image node_id 5 for calling a global function with example usage: test_ddp_find_unused_parameters_strategy_registry(tmpdir, strategy_name, strategy, expected_init_params, mps_count_0) without return types