All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mockito.listeners.VerificationListener Maven / Gradle / Ivy

There is a newer version: 5.11.0
Show newest version
/*
 * Copyright (c) 2017 Mockito contributors
 * This program is made available under the terms of the MIT License.
 */
package org.mockito.listeners;

import org.mockito.verification.VerificationEvent;

/**
 * This listener can be notified of verify invocations on a mock.
 * 

* For this to happen, it must be registered using {@link org.mockito.internal.progress.MockingProgress#addListener(MockitoListener)}. */ public interface VerificationListener extends MockitoListener { /** * Called after a verification happened. * This includes verifications that fail due to the verification mode failing. * * @param verificationEvent the event that occurred. */ void onVerification(VerificationEvent verificationEvent); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy