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 void
rejectNextNOps(int n)
Reject n following journal operations regardless of their type.void
rejectNextNOps(int n, java.lang.Throwable cause)
Rejectn
following journal operations regardless of their type.void
rejectNextNOpsCond(scala.Function2<java.lang.String,U,java.lang.Object> cond, int n)
Rejectn
following journal operations depending on the conditioncond
.void
rejectNextNOpsCond(scala.Function2<java.lang.String,U,java.lang.Object> cond, int n, java.lang.Throwable cause)
Rejectn
following 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 defaultExpectedRejection
exception.
-
rejectNextNOps
void rejectNextNOps(int n, java.lang.Throwable cause)
Rejectn
following journal operations regardless of their type. Rejects operations with thecause
exception.
-
rejectNextNOpsCond
void rejectNextNOpsCond(scala.Function2<java.lang.String,U,java.lang.Object> cond, int n)
Rejectn
following journal operations depending on the conditioncond
. Rejection triggers, whencond
returns true. Reject operations with defaultExpectedRejection
exception.
-
rejectNextNOpsCond
void rejectNextNOpsCond(scala.Function2<java.lang.String,U,java.lang.Object> cond, int n, java.lang.Throwable cause)
Rejectn
following journal operations depending on the conditioncond
. Rejection triggers, whencond
returns true. Rejects operations with thecause
exception.
-
-