def METHOD_NAME(opts_userpass):
    mock_find_credentials = MagicMock(return_value=("fake_username", "fake_password"))
    with patch(
        "salt.proxy.esxcluster.merge",
        MagicMock(return_value=opts_userpass["proxy"]),
    ):
        with patch("salt.proxy.esxcluster.find_credentials", mock_find_credentials):
            esxcluster.init(opts_userpass)
    mock_find_credentials.assert_called_once_with()