haveAnnotationOf
Filters functions having the specified annotation class.
infix fun FunctionsShould.haveAnnotationOf(annotation: KClass<out Annotation>): FunctionsRuleBuilder
Asserts that functions have the specified annotation class.
Asserts that functions in this assertion scope have the specified annotation class.
Filters functions having annotation specified by annotation type parameter T.
infix fun PropertiesThat.haveAnnotationOf(annotation: KClass<out Annotation>): PropertiesRuleBuilder
Filters properties having the specified annotation class.
infix fun PropertiesShould.haveAnnotationOf(annotation: KClass<out Annotation>): PropertiesRuleBuilder
Asserts that properties have the specified annotation class.
Asserts that properties in this assertion scope have the specified annotation class.
Filters properties having annotation specified by annotation type parameter T.