Activity Forums Salesforce® Discussions What is diff b/w system.assertEquals() and system.assertNotEquals() in Apex?

  • What is diff b/w system.assertEquals() and system.assertNotEquals() in Apex?

    Posted by Anuj on June 4, 2020 at 1:23 pm

    What is diff b/w system.assertEquals() and system.assertNotEquals() in Apex?

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

    Member
    June 4, 2020 at 2:49 pm

    AssertEquals and System. AssertNotEquals both accepts three parameters; the first two (mandatory) are the variables that will be tested for in/equality and the third (optional) is the message to display if the assert results in false.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos