Searched refs:mockingProgress (Results 1 – 6 of 6) sorted by relevance
44 private static MockingProgress mockingProgress = new ThreadSafeMockingProgress(); field in AdditionalMatchers576 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnFalse(); in and()591 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnZero(); in and()606 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnChar(); in and()621 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnZero(); in and()636 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnZero(); in and()651 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnZero(); in and()666 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnZero(); in and()681 return mockingProgress.getArgumentMatcherStorage().reportAnd().returnZero(); in and()698 return mockingProgress.getArgumentMatcherStorage().reportAnd().<T>returnNull(); in and()[all …]
107 private static MockingProgress mockingProgress = new ThreadSafeMockingProgress(); field in Matchers878 return mockingProgress.getArgumentMatcherStorage().reportMatcher(matcher); in reportMatcher()
41 private final MockingProgress mockingProgress = new ThreadSafeMockingProgress(); field in MockitoCore56 mockingProgress.mockingStarted(mock, typeToMock); in mock()61 IOngoingStubbing stubbing = mockingProgress.pullOngoingStubbing(); in stub()63 mockingProgress.reset(); in stub()70 mockingProgress.stubbingStarted(); in stub()75 mockingProgress.stubbingStarted(); in when()85 mockingProgress.verificationStarted(new MockAwareVerificationMode(mock, mode)); in verify()90 mockingProgress.validateState(); in reset()91 mockingProgress.reset(); in reset()92 mockingProgress.resetOngoingStubbing(); in reset()[all …]
36 MockingProgress mockingProgress = new ThreadSafeMockingProgress(); field in MockHandlerImpl42 this.mockingProgress = new ThreadSafeMockingProgress(); in MockHandlerImpl()44 this.invocationContainerImpl = new InvocationContainerImpl(mockingProgress, mockSettings); in MockHandlerImpl()51 mockingProgress.getArgumentMatcherStorage(), in handle()57 VerificationMode verificationMode = mockingProgress.pullVerificationMode(); in handle()60 mockingProgress.getArgumentMatcherStorage(), in handle()64 mockingProgress.validateState(); in handle()77 mockingProgress.verificationStarted(verificationMode); in handle()84 mockingProgress.reportOngoingStubbing(ongoingStubbing); in handle()
19 … private static ThreadLocal<MockingProgress> mockingProgress = new ThreadLocal<MockingProgress>(); field in ThreadSafeMockingProgress22 if (mockingProgress.get() == null) { in threadSafely()23 mockingProgress.set(new MockingProgressImpl()); in threadSafely()25 return mockingProgress.get(); in threadSafely()
28 private final MockingProgress mockingProgress; field in InvocationContainerImpl34 …public InvocationContainerImpl(MockingProgress mockingProgress, MockCreationSettings mockSettings)… in InvocationContainerImpl() argument35 this.mockingProgress = mockingProgress; in InvocationContainerImpl()59 mockingProgress.stubbingCompleted(invocation); in addAnswer()