예제 #1
0
 public function testGetAllPlans()
 {
     $model = new BraintreeForm();
     $plans = $model->getAllPlans();
     $this->assertInternalType('array', $plans);
     foreach ($plans as $plan) {
         $this->assertInstanceOf('Braintree\\Plan', $plan);
     }
 }