def METHOD_NAME(supported_platform, mocker):
    mocker.patch("platform.system", return_value=supported_platform)
    platforms = {
        "freebsd": "BSD",
        "openbsd": "BSD",
        "linux": "Linux",
        "darwin": "OSX",
        "windows": "Windows",
        "os400": "BSD",
        "cygwin": "Cygwin",
        "sunos": "SunOS",
        "aix": "AIX",
    }
    expected_platform_classname = f"{platforms[supported_platform]}Platform"
    assert get_platform().__class__.__name__ == expected_platform_classname