Home | History | Annotate | Download | only in verification

Lines Matching refs:verification

5 package org.mockito.internal.verification;
8 import org.mockito.internal.verification.api.VerificationData;
9 import org.mockito.verification.VerificationMode;
12 * Description verification mode wraps an existing verification mode and prepends
13 * a custom message to the assertion error if verification fails.
19 private final VerificationMode verification;
23 * Constructs a verification mode which wraps the given verification mode.
24 * @param verification The implementation to use for verification
25 * @param description The failure message to prepend if verification fails
27 public Description(VerificationMode verification, String description) {
28 this.verification = verification;
33 * Performs verification using the wrapped verification mode implementation.
34 * Prepends the custom failure message if verification fails.
40 verification.verify(data);