Activity Forums Salesforce® Discussions why we create mock class in Salesforce?

  • Kirandeep

    May 12, 2020 at 2:29 pm

    We Create Mock class to generate a fake response for our API callout in the test class and
    we don't need to hit the actual API while testing.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos