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