Search in sources :

Example 6 with VerificationDataImpl

use of org.mockito.internal.verification.VerificationDataImpl in project mockito by mockito.

the class MockedStaticImpl method verifyNoMoreInteractions.

@Override
public void verifyNoMoreInteractions() {
    assertNotClosed();
    mockingProgress().validateState();
    InvocationContainerImpl invocations = getInvocationContainer(control.getType());
    VerificationDataImpl data = new VerificationDataImpl(invocations, null);
    noMoreInteractions().verify(data);
}
Also used : VerificationDataImpl(org.mockito.internal.verification.VerificationDataImpl) InvocationContainerImpl(org.mockito.internal.stubbing.InvocationContainerImpl)

Aggregations

VerificationDataImpl (org.mockito.internal.verification.VerificationDataImpl)6 InvocationContainerImpl (org.mockito.internal.stubbing.InvocationContainerImpl)4 NotAMockException (org.mockito.exceptions.misusing.NotAMockException)3 InvocationTargetException (java.lang.reflect.InvocationTargetException)1 MockitoAssertionError (org.mockito.exceptions.base.MockitoAssertionError)1 InternalMockHandler (org.mockito.internal.InternalMockHandler)1 InvocationMatcher (org.mockito.internal.invocation.InvocationMatcher)1 InvocationContainer (org.mockito.internal.stubbing.InvocationContainer)1 OngoingStubbingImpl (org.mockito.internal.stubbing.OngoingStubbingImpl)1 StubbedInvocationMatcher (org.mockito.internal.stubbing.StubbedInvocationMatcher)1 MockAwareVerificationMode (org.mockito.internal.verification.MockAwareVerificationMode)1 MockHandler (org.mockito.invocation.MockHandler)1 VerificationMode (org.mockito.verification.VerificationMode)1