def METHOD_NAME():
    """
    Test to make sure we can set the proxy settings on Windows
    """
    with patch.dict(proxy.__grains__, {"os": "Windows"}):
        expected = {
            "changes": {},
            "comment": "Proxy settings already correct.",
            "name": "192.168.0.1",
            "result": True,
        }
        proxy_val = {
            "enabled": True,
            "http": {"enabled": True, "server": "192.168.0.1", "port": "3128"},
            "https": {"enabled": True, "server": "192.168.0.1", "port": "3128"},
            "ftp": {"enabled": True, "server": "192.168.0.1", "port": "3128"},
        }
        set_proxy_mock = MagicMock(return_value=True)
        patches = {
            "proxy.get_proxy_win": MagicMock(return_value=proxy_val),
            "proxy.get_proxy_bypass": MagicMock(return_value=["salt.com", "test.com"]),
            "proxy.set_proxy_win": set_proxy_mock,
        }
        with patch.dict(proxy.__salt__, patches):
            out = proxy.managed(
                "192.168.0.1",
                "3128",
                user="frank",
                password="passw0rd",
                bypass_domains=["salt.com", "test.com"],
            )
            assert not set_proxy_mock.called
            assert out == expected