/** * @inheritdoc */ protected function setup() { $this->app = new MockApplication(); $this->app->withFacades(); $this->app->register(MockStorageServiceProvider::class); $this->app->register(OAuth2ServiceProvider::class); }