public function testHasErrors()
{
$this->assertFalse($this->batchResponse->hasErrors());
$batchResponse = new BatchResponse($this->getSimpleXMLElement("batch-response-error"));
$this->assertTrue($batchResponse->hasErrors());
}