beAnnotatedWith
Asserts that functions are annotated with the specified annotation class.
Asserts that functions are annotated with the annotation specified by type parameter T.
infix fun PropertiesShould.beAnnotatedWith(annotation: KClass<out Annotation>): PropertiesRuleBuilder
Asserts that properties are annotated with annotation.
Asserts that properties are annotated with annotation type parameter T.