async def METHOD_NAME(
    profile: Profile, responder: MockResponder
):
    """Test revocation published event handler."""
    MockRec = mock.MagicMock()
    MockRec.query_by_rev_reg_id = mock.CoroutineMock(side_effect=StorageNotFoundError)
    topic = f"{REVOCATION_EVENT_PREFIX}{REVOCATION_PUBLISHED_EVENT}::mock"
    event = Event(topic, {"rev_reg_id": "mock", "crids": ["mock"]})
    with mock.patch.object(test_module, "RevNotificationRecord", MockRec):
        await test_module.on_revocation_published(profile, event)
    MockRec.query_by_rev_reg_id.assert_called_once()
    assert not responder.messages