Verify mock invocation.