Author: Asim Liaquat (asimlqt22@gmail.com)
 public function testHasErrors()
 {
     $this->assertFalse($this->batchResponse->hasErrors());
     $batchResponse = new BatchResponse($this->getSimpleXMLElement("batch-response-error"));
     $this->assertTrue($batchResponse->hasErrors());
 }