assertAreProtected
Asserts that all class declarations are protected.
Example:
classes.assertAreProtected()Content copied to clipboard
Throws
if any class is not protected.
Asserts that all class declarations in the scope are protected.
Throws
if any class is not protected.