com.fitbur.mockito.internal.progress.MockingProgress Maven / Gradle / Ivy
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package com.fitbur.mockito.internal.progress;
import com.fitbur.mockito.internal.listeners.MockingProgressListener;
import com.fitbur.mockito.invocation.Invocation;
import com.fitbur.mockito.stubbing.OngoingStubbing;
import com.fitbur.mockito.verification.VerificationMode;
import com.fitbur.mockito.verification.VerificationStrategy;
public interface MockingProgress {
void reportOngoingStubbing(OngoingStubbing> ongoingStubbing);
OngoingStubbing> pullOngoingStubbing();
void verificationStarted(VerificationMode verificationMode);
VerificationMode pullVerificationMode();
void stubbingStarted();
void stubbingCompleted(Invocation invocation);
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, Class> classToMock);
void setListener(MockingProgressListener listener);
void setVerificationStrategy(VerificationStrategy strategy);
VerificationMode maybeVerifyLazily(VerificationMode mode);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy