function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Test coverage for webservice class


Any one help to write test class for webservice class

Thank you
Florian HoehnFlorian Hoehn
You have to create a mock webservice to test the callout properly.

Have a look here how to do that:

Hope this helps!