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