public function setUp() { parent::setUp(); $this->attributes = Factory::group(['id' => 1]); $this->app->instance('Group', $this->mock); }