GoogleSpreadsheet\Tests\Google\Spreadsheet\BatchResponseTest::testHasErrors PHP Method

testHasErrors() public method

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