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