metatext/ServiceLayer/Sources/ServiceLayerMocks/MockUserNotificationClient.swift

12 lines
348 B
Swift
Raw Normal View History

2020-09-01 07:33:49 +00:00
// Copyright © 2020 Metabolist. All rights reserved.
import Combine
import ServiceLayer
public extension UserNotificationClient {
static let mock = UserNotificationClient(
getNotificationSettings: { _ in },
requestAuthorization: { _, _ in },
delegateEvents: Empty(completeImmediately: false).eraseToAnyPublisher())
}