/**
  * 解析LoggingConfig数据
  *
  * @return LoggingConfig
  */
 protected function parseDataFromResponse()
 {
     $content = $this->rawResponse->body;
     $config = new LoggingConfig();
     $config->parseFromXml($content);
     return $config;
 }
 public function testParseValidXml()
 {
     $loggingConfig = new LoggingConfig();
     $loggingConfig->parseFromXml($this->validXml);
     $this->assertEquals($this->cleanXml($this->validXml), $this->cleanXml(strval($loggingConfig)));
 }