/** @depends it_can_create_a_creditor */ function test_it_can_create_creditor_bank_account(Creditor $creditor) { $account = $this->get_creditor_bank_account($creditor); $account = $this->api->createCreditorBankAccount($account); $this->assertNotNull($account->getId()); $this->assertNotNull($account->getCreatedAt()); $this->assertNotNull($account->getAccountNumberEnding()); $this->assertNotNull($account->getBankName()); $this->assertNotNull($account->getCountryCode()); $this->assertNotNull($account->getCurrency()); $this->assertTrue($account->isEnabled()); $this->assertFalse($account->isDisabled()); return $account; }