예제 #1
0
 public function testIdentify()
 {
     $queue = $this->getQueueMock();
     $queue->expects($this->once())->method('enqueue')->with($this->equalTo(new IdentifyMethod('foo_id')));
     $client = new Client($queue, 'foo_key');
     $client->identify('foo_id');
 }