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