You need to sign in to do that
Don't have an account?

Is there a specific reason as to why we generally declare a test class as 'Private' ? e.g. @isTest private class ParkLocatorTest { }

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.