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

  • Kirandeep

    Member
    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.