2022-06-13 17:28:36 +01:00
|
|
|
//
|
2024-09-06 16:34:30 +03:00
|
|
|
// Copyright 2023, 2024 New Vector Ltd.
|
2022-06-13 17:28:36 +01:00
|
|
|
//
|
2025-01-06 11:27:37 +01:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
|
|
// Please see LICENSE files in the repository root for full details.
|
2022-06-13 17:28:36 +01:00
|
|
|
//
|
|
|
|
|
2023-05-26 15:47:12 +02:00
|
|
|
import Combine
|
2022-06-13 17:28:36 +01:00
|
|
|
import Foundation
|
|
|
|
|
2023-06-06 10:46:04 +02:00
|
|
|
extension UserIndicatorControllerMock {
|
|
|
|
static var `default`: UserIndicatorControllerMock {
|
|
|
|
let mock = UserIndicatorControllerMock()
|
2023-06-22 15:04:20 +03:00
|
|
|
mock.submitIndicatorDelayClosure = { _, _ in }
|
2023-06-06 10:46:04 +02:00
|
|
|
mock.retractIndicatorWithIdClosure = { _ in }
|
|
|
|
mock.retractAllIndicatorsClosure = { }
|
|
|
|
return mock
|
2023-05-26 15:47:12 +02:00
|
|
|
}
|
2022-06-13 17:28:36 +01:00
|
|
|
}
|