/** * junit-rules: JUnit Rules Library * * Copyright (c) 2009-2011 by Alistair A. Israel. * This software is made available under the terms of the MIT License. * * Created Feb 16, 2011 */ package junit.rules.cdi; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.enterprise.inject.Alternative; import javax.enterprise.inject.Stereotype; /** * * @author Alistair A. Israel */ @Alternative @Stereotype @Retention(RUNTIME) @Target({ TYPE, FIELD }) public @interface Mock { }