All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ninjasquad.springmockk.MockkBeans Maven / Gradle / Ivy

There is a newer version: 4.0.2
Show newest version
package com.ninjasquad.springmockk;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Container annotation that aggregates several {@link MockkBean} annotations.
 * 

* Can be used natively, declaring several nested {@link MockkBean} annotations. Can also * be used in conjunction with Java 8's support for repeatable annotations, where * {@link MockkBean} can simply be declared several times on the same * {@linkplain ElementType#TYPE type}, implicitly generating this container annotation. * * @author Phillip Webb * @author JB Nizet */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Documented public @interface MockkBeans { /** * Return the contained {@link MockkBean} annotations. * @return the mockk beans */ MockkBean[] value(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy