Example #1
0
 public function testPage()
 {
     $queue = $this->getQueueMock();
     $queue->expects($this->once())->method('enqueue')->with($this->equalTo(new PageMethod()));
     $client = new Client($queue, 'foo_key');
     $client->page();
 }