MockBeans

Container annotation that aggregates several @MockBean annotations.

Can be used natively, declaring several nested @MockBean annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where @MockBean can simply be declared several times on the same type, implicitly generating this container annotation.

Author

Phillip Webb

Since

1.4.0

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
abstract fun value(): Array<MockBean>
Return the contained @MockBean annotations.