Annotation Type ExpectSelect


  • @Retention(RUNTIME)
    @Target({METHOD,TYPE})
    public @interface ExpectSelect
    The ExpectSelect annotation verifies the number of executed select statements corresponds to the specified value.

    Example:

          @ExpectSelect(2)
          public void execute_two_select() {
              ..
          }
     
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int value
      Specifies a value (integer) to cause test method to fail if the number of select statements is not equal.
    • Element Detail

      • value

        int value
        Specifies a value (integer) to cause test method to fail if the number of select statements is not equal. Note that if left empty, the assumed value will be one.
        Default:
        1