Inheritance: extends Illuminate\Database\Eloquent\Model
 /**
  * Make a form builder.
  *
  * @return Form
  */
 public function form()
 {
     return Admin::form(Role::class, function (Form $form) {
         $form->display('id', 'ID');
         $form->text('slug', trans('admin::lang.slug'))->rules('required');
         $form->text('name', trans('admin::lang.name'))->rules('required');
         $form->multipleSelect('permissions', trans('admin::lang.permissions'))->options(Permission::all()->pluck('name', 'id'));
         $form->display('created_at', trans('admin::lang.created_at'));
         $form->display('updated_at', trans('admin::lang.updated_at'));
     });
 }
 public function testEditPermission()
 {
     $this->visit('admin/auth/permissions/create')->see('Permissions')->submitForm('Submit', ['slug' => 'can-edit', 'name' => 'Can edit'])->seePageIs('admin/auth/permissions')->seeInDatabase(config('admin.database.permissions_table'), ['slug' => 'can-edit'])->seeInDatabase(config('admin.database.permissions_table'), ['name' => 'Can edit'])->assertEquals(1, Permission::count());
     $this->visit('admin/auth/permissions/1/edit')->see('Permissions')->submitForm('Submit', ['slug' => 'can-delete'])->seePageIs('admin/auth/permissions')->seeInDatabase(config('admin.database.permissions_table'), ['slug' => 'can-delete'])->assertEquals(1, Permission::count());
 }