mockingProgress.resetOngoingStubbing();
return mockUtil.createMock(classToMock, mockingProgress, (MockSettingsImpl) mockSettings);
}
public IOngoingStubbing stub() {
IOngoingStubbing stubbing = mockingProgress.pullOngoingStubbing();
if (stubbing == null) {
mockingProgress.reset();
reporter.missingMethodInvocation();
}
return stubbing;