/** * */ public function testAssertCanBeRegistered() { $this->specify('verify serviceProvider is registered', function () { $service = $this->app->make(OAuth2Service::class); verify($service)->isInstanceOf(OAuth2Service::class); }); }
/** * @inheritdoc */ protected function setup() { $this->app = new MockApplication(); $this->app->register(MockStorageServiceProvider::class); $this->app->register(OAuth2ServiceProvider::class); }