package de.hilling.junit.cdi.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import javax.enterprise.inject.Stereotype; import de.hilling.junit.cdi.scope.TestScoped; /** * Use this annotation to mark Alternatives that can be enabled per test class. */ @TestScoped @Stereotype @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface ActivatableTestImplementation { /** * Enumerates the classes and/or interfaces that should be replaced by the injected bean. * @return activatable beans. */ Class<?>[] value() default {}; }