Skip to content

Commit 9383ff6

Browse files
committed
Add comments to MockPushNotificationsManager
1 parent c396f41 commit 9383ff6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

WooCommerce/WooCommerceTests/Mockups/MockPushNotificationsManager.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ final class MockPushNotificationsManager: PushNotesManager {
4141
}
4242

4343
extension MockPushNotificationsManager {
44+
/// Send a ForegroundNotification that will be emitted by the `foregroundNotifications`
45+
/// observable.
46+
///
4447
func sendForegroundNotification(_ notification: ForegroundNotification) {
4548
foregroundNotificationsSubject.send(notification)
4649
}
4750
}
48-

0 commit comments

Comments
 (0)