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

GoCardlessClient does not implement an interface, which means it cannot be mocked for testing purposes #83

Open
IanKemp opened this issue Feb 25, 2022 · 1 comment

Comments

@IanKemp
Copy link

IanKemp commented Feb 25, 2022

This is a massive omission that essentially forces consumers to write their own wrappers that do use an interface, which somewhat defeats the purpose of using this package in the first place.

@pencho
Copy link

pencho commented Apr 7, 2022

Totally agree! To add to the frustration, the DTOs properties have non-public setters which means that they can not be used in tests.

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

2 participants