assertAreProtected

Asserts that all class declarations are protected.

Example:

classes.assertAreProtected()

Throws

if any class is not protected.


Asserts that all class declarations in the scope are protected.

Throws

if any class is not protected.