You need to sign in to do that
Don't have an account?
R557
Is there a specific reason as to why we generally declare a test class as 'Private' ? e.g. @isTest private class ParkLocatorTest { }
Best Answer chosen by R557
pcon
You declare it private so that no methods inside can be used from classes outside of itself. You wouldn't want anyone accidentally using your test class methods inside of their production code.