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 -
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