public function test_all() { $repo = App::make(BilletRepository::class); factory(Billet::class)->create(); $all = $repo->all(); $this->assertInstanceOf(LengthAwarePaginator::class, $all); $this->assertInstanceOf(Billet::class, $all->first()); }