001 package org.junit.experimental.theories;
002
003 import static java.lang.annotation.ElementType.METHOD;
004
005 import java.lang.annotation.Retention;
006 import java.lang.annotation.RetentionPolicy;
007 import java.lang.annotation.Target;
008
009 /**
010 * Marks test methods that should be read as theories by the {@link org.junit.experimental.theories.Theories Theories} runner.
011 *
012 * @see org.junit.experimental.theories.Theories
013 */
014 @Retention(RetentionPolicy.RUNTIME)
015 @Target(METHOD)
016 public @interface Theory {
017 boolean nullsAccepted() default true;
018 }