org.mockito.internal.progress.MockingProgress Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of securemock Show documentation
Show all versions of securemock Show documentation
Libraries for Elasticsearch
The newest version!
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.progress;
import java.util.Set;
import org.mockito.listeners.MockitoListener;
import org.mockito.listeners.VerificationListener;
import org.mockito.mock.MockCreationSettings;
import org.mockito.stubbing.OngoingStubbing;
import org.mockito.verification.VerificationMode;
import org.mockito.verification.VerificationStrategy;
public interface MockingProgress {
void reportOngoingStubbing(OngoingStubbing> ongoingStubbing);
OngoingStubbing> pullOngoingStubbing();
Set verificationListeners();
void verificationStarted(VerificationMode verificationMode);
VerificationMode pullVerificationMode();
void stubbingStarted();
void stubbingCompleted();
void validateState();
void reset();
/**
* Removes ongoing stubbing so that in case the framework is misused
* state validation errors are more accurate
*/
void resetOngoingStubbing();
ArgumentMatcherStorage getArgumentMatcherStorage();
void mockingStarted(Object mock, MockCreationSettings settings);
void addListener(MockitoListener listener);
void removeListener(MockitoListener listener);
void setVerificationStrategy(VerificationStrategy strategy);
VerificationMode maybeVerifyLazily(VerificationMode mode);
/**
* Removes all listeners added via {@link #addListener(MockitoListener)}.
*/
void clearListeners();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy