Activity Forums Salesforce® Discussions What is the purpose of System.assertEquals() in salesforce?

  • Marziya

    Member
    April 30, 2020 at 11:26 am

    System. assertEquals() is used to validate two values are equal. Basically it is used in test method. This method asserts that the first two arguments, x and y are the same, if they are not a runtime exception is thrown.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos