Annotation Type BindValue


  • @Retention(CLASS)
    @Target(FIELD)
    public @interface BindValue
    An annotation that can be used on a test field to contribute the value into the SingletonComponent. Example usage:
    
     public class FooTest{
       ...
       @BindValue Bar boundBar = new Bar();
       ...
     }
     
    Here boundBar will be accessible to the entire application for your test.