public function testParseValidXml2() { $corsConfig = new CorsConfig(); $corsConfig->parseFromXml($this->validXml2); $this->assertEquals($this->cleanXml($this->validXml2), $this->cleanXml($corsConfig->serializeToXml())); }
/** * @return CorsConfig */ protected function parseDataFromResponse() { $content = $this->rawResponse->body; $config = new CorsConfig(); $config->parseFromXml($content); return $config; }