Annotation Type MockBeans
@Retention(RUNTIME) @Target(TYPE) @Documented public @interface MockBeans
Container annotation that aggregates severalMockBeanannotations.Can be used natively, declaring several nested
MockBeanannotations. Can also be used in conjunction with Java 8's support for repeatable annotations, whereMockBeancan simply be declared several times on the same type, implicitly generating this container annotation.- Since:
- 1.4.0