function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ramesh babu 114ramesh babu 114 

what is the meaning of System.assert(m.containsKey(1));

what is the meaning of System.assert(m.containsKey(1));
Ajay K DubediAjay K Dubedi
Hi ramesh,
The System.assert methods let your test classes confirm that values or fields contain the values you expect.
Here, it will check if the map contains the key you entered.

Regards 
Ajay