Interface RejectSupport<U>

All Known Subinterfaces:
PersistenceTestKitOps<S,P>
All Known Implementing Classes:
PersistenceTestKit

public interface RejectSupport<U>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Reject n following journal operations regardless of their type.
    void
    rejectNextNOps(int n, Throwable cause)
    Reject n following journal operations regardless of their type.
    void
    rejectNextNOpsCond(scala.Function2<String,U,Object> cond, int n)
    Reject n following journal operations depending on the condition cond.
    void
    rejectNextNOpsCond(scala.Function2<String,U,Object> cond, int n, Throwable cause)
    Reject n following journal operations depending on the condition cond.
  • Method Details

    • rejectNextNOps

      void rejectNextNOps(int n)
      Reject n following journal operations regardless of their type. Rejects operations with default ExpectedRejection exception.
    • rejectNextNOps

      void rejectNextNOps(int n, Throwable cause)
      Reject n following journal operations regardless of their type. Rejects operations with the cause exception.
    • rejectNextNOpsCond

      void rejectNextNOpsCond(scala.Function2<String,U,Object> cond, int n)
      Reject n following journal operations depending on the condition cond. Rejection triggers, when cond returns true. Reject operations with default ExpectedRejection exception.
    • rejectNextNOpsCond

      void rejectNextNOpsCond(scala.Function2<String,U,Object> cond, int n, Throwable cause)
      Reject n following journal operations depending on the condition cond. Rejection triggers, when cond returns true. Rejects operations with the cause exception.