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 updated correctly",
            "name": "192.168.0.1",
            "result": True,
        }
        set_proxy_mock = MagicMock(return_value=True)
        patches = {
            "proxy.get_proxy_win": MagicMock(return_value={}),
            "proxy.get_proxy_bypass": MagicMock(return_value=[]),
            "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"],
            )
            set_proxy_mock.assert_called_once_with(
                "192.168.0.1",
                "3128",
                ["http", "https", "ftp"],
                ["salt.com", "test.com"],
            )
            assert out == expected