Annotation Interface MockkBeans


@Retention(RUNTIME) @Target(TYPE) @Documented public @interface MockkBeans
Container annotation that aggregates several MockkBean annotations.

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

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Return the contained MockkBean annotations.
  • Element Details

    • value

      MockkBean[] value
      Return the contained MockkBean annotations.
      Returns:
      the mockk beans