Annotation Interface ClosedBy


@Retention(RUNTIME) public @interface ClosedBy

An annotation to let the framework know an access-model method should be closed by an action specified by the method name. This annotation should be attached to methods for "arrangement" phase, not for "act" (test) methods.

This annotation is activated only when the PlanningStrategy#DEPENDENCY_BASED is activated and usually attached to methods for test results checking.

See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    A name of a method that returns an action, which closes an action returned by the annotated method.
  • Element Details

    • value

      String value
      A name of a method that returns an action, which closes an action returned by the annotated method.
      Returns:
      A name of a closer method.
      See Also: