/** * @depends testListCustomerBankAccounts * @param CustomerBankAccount $old */ public function testGetCustomerBankAccount($old) { $new = $this->getClient()->getCustomerBankAccount($old->getId()); $newArray = $new->toArray(); $oldArray = $old->toArray(); $this->assertEquals($newArray, $oldArray); }