/** * @test */ public function should_get_all_notifications_for_project() { $notifications = Notify::setLimit(5)->setRead(-1)->from('mock-project-1'); $this->assertEquals(5, count($notifications->toArray())); $notifications = Notify::setLimit(5)->setRead(-1)->from('mock-project-2'); $this->assertEquals(0, count($notifications->toArray())); }