async def METHOD_NAME(profile: Profile):
    """Test pending revocation cleared event."""
    mock_rec = mock.MagicMock()
    mock_rec.delete_record = mock.CoroutineMock()
    MockRec = mock.MagicMock()
    MockRec.query_by_rev_reg_id = mock.CoroutineMock(return_value=[mock_rec])
    topic = f"{REVOCATION_EVENT_PREFIX}{REVOCATION_CLEAR_PENDING_EVENT}::mock"
    event = Event(topic, {"rev_reg_id": "mock"})
    with mock.patch.object(test_module, "RevNotificationRecord", MockRec):
        await test_module.on_pending_cleared(profile, event)
    mock_rec.delete_record.assert_called_once()