def METHOD_NAME(srv, caplog):
    mock_connection = mock.MagicMock()
    # Make the call to `notify` raise an exception.
    def error(*args, **kwargs):
        raise Exception("something failed")
    mock_connection.notify = error
    with mock.patch("apprise.Apprise", side_effect=[mock_connection], create=True) as mock_client:
        with mock.patch("apprise.AppriseAsset", create=True):
            module = load_module_by_name("mqttwarn.services.apprise_multi")
            item = Item(
                addrs=[{"baseuri": "json://localhost:1234/mqtthook"}],
                title="⚽ Message title ⚽",
                message="⚽ Notification message ⚽",
            )
            outcome = module.plugin(srv, item)
            assert mock_client.mock_calls == [
                mock.call(asset=mock.ANY),
            ]
            assert mock_connection.mock_calls == [
                call.add("json://localhost:1234/mqtthook"),
            ]
            assert outcome is False
            assert (
                "Sending notification to Apprise. target=None, "
                "addresses=[{'baseuri': 'json://localhost:1234/mqtthook'}]" in caplog.messages
            )
            assert "Sending message using Apprise failed. target=None, error=something failed" in caplog.messages