1/*
2 * Copyright (c) 2016 Mockito contributors
3 * This program is made available under the terms of the MIT License.
4 */
5package org.mockito.verification;
6
7/**
8 * Strategy to possibly lazily perform verifications.
9 */
10public interface VerificationStrategy {
11
12    /**
13     * Possibly wrap the given VerificationMode and return a wrapping
14     * VerificationMode instead.
15     *
16     * @param mode The original mode.
17     * @return A wrapping mode that uses the original mode.
18     */
19    VerificationMode maybeVerifyLazily(VerificationMode mode);
20}
21