public function test_get() { $repo = App::make(BilletRepository::class); $billet = factory(Billet::class)->create(); $get = $repo->get($billet->id); $this->assertInstanceOf(Billet::class, $get); $this->assertEquals($get->id, $billet->id); }