/** * @test */ public function should_get_10_unread_notifications_for_user() { $notifications = Notify::setRead(0)->setLimit(20)->setFromId('mock-project-1')->to('mock-user-1'); $this->assertLessThan(20, count($notifications->toArray())); $this->assertGreaterThan(5, count($notifications->toArray())); }