Annotation Type Setup


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface Setup
    Specify a method in a test that takes a BeanScopeBuilder. The method is used to setup the test using the BeanScopeBuilder prior to the BeanScope being built.

    The method is expected to only have a single parameter that is of type BeanScopeBuilder.