all() public static method

public static all ( ) : Customer[]
return Customer[]
Example #1
0
 public function testAllWithManyResults()
 {
     $collection = Braintree\Customer::all();
     $this->assertTrue($collection->maximumCount() > 1);
     $customer = $collection->firstItem();
     $this->assertTrue(strlen($customer->id) > 0);
     $this->assertTrue($customer instanceof Braintree\Customer);
 }