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