Commit 1c606aaa authored by yogevbd's avatar yogevbd

Fix unit

parent c0e921c1
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
[[_mockedNotificationCenter expect] postNotificationName:RNNotificationReceivedForeground object:[OCMArg any] userInfo:[OCMArg checkWithBlock:^BOOL(id obj) { [[_mockedNotificationCenter expect] postNotificationName:RNNotificationReceivedForeground object:[OCMArg any] userInfo:[OCMArg checkWithBlock:^BOOL(id obj) {
return ([[obj valueForKey:@"identifier"] isEqualToString:@"id"] && return ([[obj valueForKey:@"identifier"] isEqualToString:@"id"] &&
[[[obj valueForKey:@"payload"] valueForKey:@"extraKey"] isEqualToString:@"extraValue"]); [[[obj valueForKey:@"data"] valueForKey:@"extraKey"] isEqualToString:@"extraValue"]);
}]]; }]];
[_uut didReceiveForegroundNotification:notification withCompletionHandler:testBlock]; [_uut didReceiveForegroundNotification:notification withCompletionHandler:testBlock];
[_mockedNotificationCenter verify]; [_mockedNotificationCenter verify];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment