/**
  * Get the registry for the data providers.
  *
  * @param DataProviderInterface $customProvider
  *
  * @return Registry
  */
 protected static function getDataProviderRegistry(DataProviderInterface $customProvider = null)
 {
     $registry = new Registry();
     $registry->register('guzzle', new GuzzleClient());
     $registry->register('php', new PhpClient());
     if ($customProvider) {
         $registry->register('custom', $customProvider);
     }
     return $registry;
 }
 /**
  * Get the data provider.
  *
  * @return DataProviderInterface
  */
 protected function getDataProvider()
 {
     return $this->dataProviderRegistry->get($this->defaultDataProvider);
 }