def METHOD_NAME(monkeypatch, clean_env):
    current_platform_factory = Mock()
    other_platform_factory = Mock()
    patch_platforms(
        monkeypatch,
        [
            ("other_platform", other_platform_factory, False),
            ("current_platform", current_platform_factory, True),
        ],
    )
    factory = _get_platform_factory()
    assert factory == current_platform_factory