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
Nishad BashaNishad Basha 

How to write the Test class for based on Apex class?

can you plase give me the example of above scenario please give some ideas.
Amit Chaudhary 8Amit Chaudhary 8
Please check below below post for test clas. I hope that will help you

Please check below post for Test util class example

public class TestUtil {
  public static void createTestAccounts() {
    // Create some test accounts
  public static void createTestContacts() {
    // Create some test contacts

Please lets us know if this will help you

Amit Chaudhary
Nishad BashaNishad Basha

Hi, Amit Chaudhary 

 i need give the example one apex class that related test class .plase give one example so far.