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
Rahul JenRahul Jen 

Need answer for pd2 _ Test classes

User-added image
Ajay K DubediAjay K Dubedi
Hi Rahul,

I have gone through your question. The correct answer is option C.
It is described in the salesforce documentation of testSetup() method that it does not provide any code coverage to non-test methods.
I am also providing you the link so that you can get more information on the topic - 

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_testsetup_using.htm


I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Ajay Dubedi
www.ajaydubedi.com