public function test_index_returns_schedules()
{
factory(Schedule::class)->create();
$controller = App::make(ScheduleController::class);
$schedules = $controller->index();
$this->assertInstanceOf(LengthAwarePaginator::class, $schedules);
$this->assertInstanceOf(Schedule::class, $schedules->first());
}