testclass
-
WebServiceMock to test your Webservice Call
Salesforce is very flexible to integrate with other systems. In many projects we have lot of integrations of Salesforce with other systems. But main struggle starts while writing a test class for those integration webservices. Salesforce provides WebServiceMock interface to test Web service callouts of class auto-generated from a WSDL. WebServiceMock methods: The methods in the… Continue reading