11 lines
333 B
Swift
11 lines
333 B
Swift
import Foundation
|
|
@testable import Shared
|
|
|
|
final class MockLocalNotificationDispatcher: LocalNotificationDispatcherProtocol {
|
|
private var lastNotificationSent: LocalNotificationDispatcher.Notification?
|
|
|
|
func send(_ notification: LocalNotificationDispatcher.Notification) {
|
|
lastNotificationSent = notification
|
|
}
|
|
}
|