public function testShouldBoot() { // Set $provider = new MongolidServiceProvider($this->app); config(['auth.driver' => 'mongoLid']); // Actions $provider->boot(); $result = $this->app['auth']->getProvider(); // Actions $this->assertInstanceOf(MongolidUserProvider::class, $result); }