assertAreInterfaces
Asserts that all class declarations represent interfaces.
Example:
classes.assertAreInterfaces()Content copied to clipboard
Throws
if any class is not an interface.
Asserts that all class declarations in the scope represent interfaces.
Throws
if any class is not an interface.