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
Hari Krishnan 105Hari Krishnan 105 

Create apex class based on the below link and write test class to cover it
PriyaPriya (Salesforce Developers) 
Hey Hari,

May I know what is your exact requirement ?

Priya Ranjan