diff --git a/test/Github/Tests/Api/NotificationTest.php b/test/Github/Tests/Api/NotificationTest.php index 70cec8e31c9..0f2616996e2 100644 --- a/test/Github/Tests/Api/NotificationTest.php +++ b/test/Github/Tests/Api/NotificationTest.php @@ -96,6 +96,17 @@ public function shouldMarkNotificationsAsReadForGivenDate() $api->markRead($since); } + + public function shouldGetNotification() + { + $id = mt_rand(1, time()); + $api = $this->getApiMock(); + $api->expects($this->once()) + ->method('get') + ->with('/notification/'.$id); + + $api->id($id); + } /** * @return string