コード例 #1
0
 public function testDeletingACouponDeletesToTheCouponResource()
 {
     $this->connection->expects($this->once())->method('delete')->with($this->basePath . '/coupons/1');
     Client::deleteCoupon(1);
 }