public function testRandomUserAgent()
 {
     $this->assertNotNull(UserAgent::userAgent());
 }
 /**
  * @param string $url
  *
  * @return string|null
  */
 protected function getUserAgent($url)
 {
     if (!$this->randomizeUserAgent) {
         return null;
     }
     return UserAgent::userAgent();
 }