/** * @depends testListCustomers * @param Customer $customer */ public function testCreateCustomerBankAccount(Customer $customer) { $account = new CustomerBankAccount(); $account->setAccountNumber("55779911"); $account->setBranchCode("200000"); $account->setCountryCode("GB"); $account->setAccountHolderName("Mr P D Pamment"); $account->setCustomer($customer); $account = $this->getClient()->createCustomerBankAccount($account); $this->assertNotEquals(null, $account->getId()); $this->assertNotEquals(null, $account->getCreatedAt()); }