/** @depends test_it_can_create_creditor_bank_account */ function test_it_can_disable_a_creditor_bank_account(CreditorBankAccount $account) { $account = $this->api->disableCreditorBankAccount($account->getId()); $this->assertInstanceOf('GoCardless\\Pro\\Models\\CreditorBankAccount', $account); $this->assertTrue($account->isDisabled()); }