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
sunny kapoorsunny kapoor 

Test class involving aggregate function

I have to write a test class for a trigger which includes aggregate functions like SUM,is there any specific method to proceed?

Best Answer chosen by Admin (Salesforce Developers) 
Vinit_KumarVinit_Kumar

There is no specific method for Aggregate funsctions.You just need to test the logic of your Trigger and then you are good to go.