예제 #1
0
 public function testCancelBatch()
 {
     $this->client->startBatch();
     $this->client->count("foobar", 4);
     $this->client->cancelBatch();
     $this->assertFalse($this->client->isBatch());
     $this->assertNull($this->connection->getLastMessage());
 }
예제 #2
0
 /**
  * @inheritdoc
  */
 public function startBatch()
 {
     $this->client->startBatch();
 }