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