def METHOD_NAME(opts_sspi):
    mock_pillar_proxy = MagicMock()
    mock_opts_proxy = MagicMock()
    mock_merge = MagicMock(return_value=opts_sspi["proxy"])
    with patch.dict(esxdatacenter.__pillar__, {"proxy": mock_pillar_proxy}):
        with patch("salt.proxy.esxdatacenter.merge", mock_merge):
            esxdatacenter.init(opts={"proxy": mock_opts_proxy})
    mock_merge.assert_called_once_with(mock_opts_proxy, mock_pillar_proxy)