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

Turn the ForceClient.cs class virtual #25

Open
andersonmendrot opened this issue Dec 17, 2020 · 0 comments
Open

Turn the ForceClient.cs class virtual #25

andersonmendrot opened this issue Dec 17, 2020 · 0 comments

Comments

@andersonmendrot
Copy link

andersonmendrot commented Dec 17, 2020

I was trying to create unit tests and wanted to mock the ForceClient class because I don't have an account on Salesforce. But it's impossible to use that class for tests because the ForceClient class isn't virtual

@andersonmendrot andersonmendrot changed the title Create an interface to ForceClient.cs so it would be possible to create unit tests Create an interface to ForceClient.cs Dec 17, 2020
@andersonmendrot andersonmendrot changed the title Create an interface to ForceClient.cs Create an interface for the ForceClient.cs class Dec 17, 2020
@andersonmendrot andersonmendrot changed the title Create an interface for the ForceClient.cs class Turn the ForceClient.cs class virtual Dec 21, 2020
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