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