コード例 #1
0
ファイル: ProducerTest.php プロジェクト: lightster/hodor
 /**
  * @covers ::__construct
  * @covers ::beginBatch
  * @covers ::discardBatch
  * @expectedException Exception
  */
 public function testPublishingABatchAfterItWasAlreadyDiscardedThrowsAnException()
 {
     $this->producer->beginBatch();
     $this->producer->publishBatch();
     $this->producer->discardBatch();
 }
コード例 #2
0
 public function publishBatch()
 {
     $this->producer->publishBatch();
 }