public function test_pay()
{
$today = Carbon::today();
$billet = factory(Billet::class)->create();
$repo = App::make(BilletRepository::class);
$response = $repo->pay($billet->id, $today);
$this->assertInstanceOf(Billet::class, $response);
$this->assertInstanceOf(Carbon::class, $response->discharge_date);
$this->seeInDatabase('billets', ['id' => $billet->id, 'discharge_date' => $today->toDateString()]);
}