示例#1
0
 public function testUrls()
 {
     $this->assertEqual(Stripe_Charge::classUrl('Stripe_Charge'), '/charges');
     $charge = new Stripe_Charge('abcd/efgh');
     $this->assertEqual($charge->instanceUrl(), '/charges/abcd%2Fefgh');
 }