SpyBeans

Deprecated (for removal)

Since version 3.4.0

Container annotation that aggregates several @SpyBean annotations.

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

Author

Phillip Webb

Since

1.4.0

Deprecated

since 3.4.0 for removal in 3.6.0 in favor of org.springframework.test.context.bean.override.mockito.MockitoSpyBean

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<SpyBean>
Return the contained @SpyBean annotations.