Exemple #1
0
 /**
  * @group ZF-10665
  */
 public function testDontDieOnSerialization()
 {
     $config = $this->config;
     $userAgent = new Zend_Http_UserAgent($config);
     // If this code doesn't throw a fatal error the test passed.
     $userAgent->setUserAgent('userAgentTest');
     $userAgent->serialize();
 }