protected function getManager(array $config)
 {
     $repo = Mockery::mock(Repository::class);
     $factory = Mockery::mock(GoogleClientFactory::class);
     $manager = new GoogleClientManager($repo, $factory);
     $manager->getConfig()->shouldReceive('get')->once()->with('google-client.connections')->andReturn(['google-client' => $config]);
     $config['name'] = 'google-client';
     $manager->getFactory()->shouldReceive('make')->once()->with($config)->andReturn(Mockery::mock(Google_Client::class));
     return $manager;
 }
 /**
  * Get the config instance.
  *
  * @return \Illuminate\Contracts\Config\Repository 
  * @static 
  */
 public static function getConfig()
 {
     //Method inherited from \GrahamCampbell\Manager\AbstractManager
     return \Websight\L5GoogleClient\GoogleClientManager::getConfig();
 }