code: def test_fsdp_strategy_registry(cuda_count_1):
      strategy = "fsdp"
      assert strategy in StrategyRegistry
      assert StrategyRegistry[strategy]["strategy"] == FSDPStrategy
  
      trainer = Trainer(accelerator="cuda", strategy=strategy)
      assert isinstance(trainer.strategy, FSDPStrategy)
  
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 4 for calling a global function with example usage: test_fsdp_strategy_registry(cuda_count_1) without return types