/**
  * 解析WebsiteConfig数据
  *
  * @return WebsiteConfig
  */
 protected function parseDataFromResponse()
 {
     $content = $this->rawResponse->body;
     $config = new WebsiteConfig();
     $config->parseFromXml($content);
     return $config;
 }
 public function testParsenullXml()
 {
     $websiteConfig = new WebsiteConfig();
     $websiteConfig->parseFromXml($this->nullXml);
     $this->assertTrue($this->cleanXml($this->nullXml) === $this->cleanXml($websiteConfig->serializeToXml()) || $this->cleanXml($this->nullXml2) === $this->cleanXml($websiteConfig->serializeToXml()));
 }