public void verifyNoMoreInteractions() {
try {
final MockitoInvocationHandler mockHandler = methodInterceptorFilter.getHandler();
if (mockHandler instanceof MockHandler<?>) {
InvocationContainer invocationContainer = ((MockHandler<?>) mockHandler).getInvocationContainer();
VerificationDataImpl data = new VerificationDataImpl(invocationContainer, null);
VerificationModeFactory.noMoreInteractions().verify(data);
} else {
throw new RuntimeException(
"Cannot perform verifyNoMoreInteractions because of unknown mockhandler type "