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
Anil Tiwari 36Anil Tiwari 36 

I want to access multiple private variables into salesforce test class .

Do I need to write @testVisible in Apex class multiple times? Is there any altenate way to access all private variables by wrting single @test visbile
Sitarama MurthySitarama Murthy
Hi Anil,

I think u need to write @testVisible in every private variable in Apex class.

Thanks,
Ram