/** @group Exceptions */ function test_it_throws_an_exception_if_the_creditor_bank_account_is_not_found() { $this->setExpectedException('GoCardless\\Pro\\Exceptions\\ResourceNotFoundException', 'Resource not found at /creditor_bank_accounts/1234', 404); $this->api->getCreditorBankAccount('1234'); }