beAnnotatedWith

Asserts that functions are annotated with the specified annotation class.


Asserts that functions are annotated with the annotation specified by type parameter T.


Asserts that properties are annotated with annotation.


Asserts that properties are annotated with annotation type parameter T.