Activity Forums Salesforce® Discussions What is the difference between System.assert and System.assertEquals?

  • What is the difference between System.assert and System.assertEquals?

    Posted by Shweta on June 8, 2020 at 2:51 pm

    What is the difference between System.assert and System.assertEquals in Salesforce?

    Anjali replied 4 years, 5 months ago 2 Members · 1 Reply
  • 1 Reply
  • Anjali

    Member
    June 8, 2020 at 2:56 pm

    System.assertEquals tests that two values are equal.System. assert take two parameters, first is the condition to check and second the message to log if the condition is true.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos