/**
  * Parse response data
  *
  * @param Solarium_Result_Update $result
  * @return array
  */
 public function parse($result)
 {
     $data = $result->getData();
     $status = null;
     $queryTime = null;
     if (isset($data['responseHeader'])) {
         $status = $data['responseHeader']['status'];
         $queryTime = $data['responseHeader']['QTime'];
     }
     return array('status' => $status, 'queryTime' => $queryTime);
 }
 /**
  * Parse response data
  *
  * @param Solarium_Result_Update $result
  * @return array
  */
 public function parse($result)
 {
     $data = $result->getData();
     return array('status' => $data['responseHeader']['status'], 'queryTime' => $data['responseHeader']['QTime']);
 }
 public function testGetQueryTime()
 {
     $this->assertEquals(12, $this->_result->getQueryTime());
 }