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

  • 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

Salesforce Marketing Cloud Integration with Google Analytics 360

Redefining the future of Marketing – Salesforce Marketing Cloud Integration with Google Analytics 360

Blog in

Know your customers better and make smarter, insight-based marketing decisions through Salesforce’s massive customer relationship management platform twinned with Google Analytics 360’s market-leading digital analytics solution…

Popular Salesforce Videos