/** * @depends testRetrieve */ public function testAll(\EasyPost\Address $address) { $all = \EasyPost\Address::all(); $address_in_all = false; for ($_i = 0, $_k = count($all); $_i < $_k; $_i++) { if ($all[$_i]->id === $address->id) { $address_in_all = true; } } $this->assertTrue($address_in_all); }