assertHaveAnnotationOf
Asserts that all class declarations have at least one of the specified annotations. Matches either the annotation's simple name or its fully qualified name (FQN).
Example:
classes.assertHaveAnnotationOf("org.springframework.stereotype.Repository", "Repository")Parameters
The annotation names or fully qualified names. At least one must match.
Throws
if any class is not annotated with any of the specified annotations.
Asserts that all class declarations in the scope have at least one of the specified annotations. Matches either the annotation's simple name or its fully qualified name (FQN).
Parameters
The annotation names or fully qualified names. At least one must match.
Throws
if any class is not annotated with any of the specified annotations.
Asserts that a list of class declarations have the specified annotations.
Asserts that classes in a KontureScope have the specified annotations.