Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are there unit testing helper? #57

Open
airmanx86 opened this issue Jun 25, 2020 · 0 comments
Open

Are there unit testing helper? #57

airmanx86 opened this issue Jun 25, 2020 · 0 comments

Comments

@airmanx86
Copy link

I am integrating with GoCardlessClient and found that a lot of responses or exceptions returned by the API has no public constructor or only has readonly properties. Which make it difficult to unit test the code around GoCardlessClient. Is it possible to provide an unit test helper to allow me to construct response and exception for testing purpose?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant