Interface RejectSupport<U>
-
- All Known Subinterfaces:
PersistenceTestKitOps<S,P>
- All Known Implementing Classes:
PersistenceTestKit
public interface RejectSupport<U>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrejectNextNOps(int n)Reject n following journal operations regardless of their type.voidrejectNextNOps(int n, java.lang.Throwable cause)Rejectnfollowing journal operations regardless of their type.voidrejectNextNOpsCond(scala.Function2<java.lang.String,U,java.lang.Object> cond, int n)Rejectnfollowing journal operations depending on the conditioncond.voidrejectNextNOpsCond(scala.Function2<java.lang.String,U,java.lang.Object> cond, int n, java.lang.Throwable cause)Rejectnfollowing journal operations depending on the conditioncond.
-
-
-
Method Detail
-
rejectNextNOps
void rejectNextNOps(int n)
Reject n following journal operations regardless of their type. Rejects operations with defaultExpectedRejectionexception.
-
rejectNextNOps
void rejectNextNOps(int n, java.lang.Throwable cause)Rejectnfollowing journal operations regardless of their type. Rejects operations with thecauseexception.
-
rejectNextNOpsCond
void rejectNextNOpsCond(scala.Function2<java.lang.String,U,java.lang.Object> cond, int n)
Rejectnfollowing journal operations depending on the conditioncond. Rejection triggers, whencondreturns true. Reject operations with defaultExpectedRejectionexception.
-
rejectNextNOpsCond
void rejectNextNOpsCond(scala.Function2<java.lang.String,U,java.lang.Object> cond, int n, java.lang.Throwable cause)
Rejectnfollowing journal operations depending on the conditioncond. Rejection triggers, whencondreturns true. Rejects operations with thecauseexception.
-
-