pcp-server-nodejs-sdk
Version:
[](https://sonarcloud.io/summary/new_code?id=PAYONE-GmbH_PCP-server-nodeJS-SDK) [ => {
test('constructor', () => {
const apiException = new ApiResponseRetrievalException(404, 'Body');
expect(apiException).toBeDefined();
});
test('constructor with cause', () => {
const apiException = new ApiResponseRetrievalException(404, 'Body', new Error('Cause'));
expect(apiException.stack).toContain('Error: Cause');
});
});
//# sourceMappingURL=ApiResponseRetrievalException.test.js.map