예제 #1
0
파일: ChargeTest.php 프로젝트: bulats/chef
 public function testUrls()
 {
     $this->assertEqual(Stripe_Charge::classUrl('Stripe_Charge'), '/charges');
     $charge = new Stripe_Charge('abcd/efgh');
     $this->assertEqual($charge->instanceUrl(), '/charges/abcd%2Fefgh');
 }