Activity Forums Salesforce® Discussions How to cover JSON untyped in test class in Salesforce?

  • How to cover JSON untyped in test class in Salesforce?

    Posted by Deepak on September 4, 2020 at 3:47 pm

    How to cover JSON untyped in test class in Salesforce?

    Anuj replied 2 years ago 2 Members · 1 Reply
  • 1 Reply
  • Anuj

    Member
    September 4, 2020 at 3:59 pm

    You can not cover directly JSON deserializeUntyped , you have create a mock test class for fake response and test the same in test class.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos