dependabot[bot] opened a new pull request #1575: URL: https://github.com/apache/tinkerpop/pull/1575
Bumps [Moq](https://github.com/moq/moq4) from 4.16.1 to 4.17.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/moq/moq4/blob/main/CHANGELOG.md">Moq's changelog</a>.</em></p> <blockquote> <h2>4.17.1 (2022-02-26)</h2> <h4>Added</h4> <ul> <li><code>SetupSet</code>, <code>VerifySet</code> methods for <code>mock.Protected().As<>()</code> (<a href="https://github.com/tonyhallett"><code>@tonyhallett</code></a>, <a href="https://github-redirect.dependabot.com/moq/moq4/issues/1165">#1165</a>)</li> <li>New <code>Throws</code> method overloads that allow specifying a function with or without parameters, to provide an exception, for example <code>.Throws(() => new InvalidOperationException())</code> and <code>Setup(x => x.GetFooAsync(It.IsAny<string>()).Result).Throws((string s) => new InvalidOperationException(s))</code>. (<a href="https://github.com/adam-knights"><code>@adam-knights</code></a>, <a href="https://github-redirect.dependabot.com/moq/moq4/issues/1191">#1191</a>)</li> </ul> <h4>Changed</h4> <ul> <li>Update package reference to <code>Castle.Core</code> (DynamicProxy) from version 4.4.0 to 4.4.1 (<a href="https://github.com/stakx"><code>@stakx</code></a>, <a href="https://github-redirect.dependabot.com/moq/moq4/issues/1233">#1233</a>)</li> </ul> <h4>Fixed</h4> <ul> <li>The guard against unmatchable matchers (added in <a href="https://github-redirect.dependabot.com/moq/moq4/issues/900">#900</a>) was too strict; relaxed it to enable an alternative user-code shorthand <code>_</code> for <code>It.IsAny<>()</code> (<a href="https://github.com/adamfk"><code>@adamfk</code></a>, <a href="https://github-redirect.dependabot.com/moq/moq4/issues/1199">#1199</a>)</li> <li><code>mock.Protected()</code> setup methods fail when argument is of type <code>Expression</code> (<a href="https://github.com/tonyhallett"><code>@tonyhallett</code></a>, <a href="https://github-redirect.dependabot.com/moq/moq4/issues/1189">#1189</a>)</li> <li>Parameter is invalid in <code>Protected().SetupSet()</code> ... <code>VerifySet</code> (<a href="https://github.com/tonyhallett"><code>@tonyhallett</code></a>, <a href="https://github-redirect.dependabot.com/moq/moq4/issues/1186">#1186</a>)</li> <li>Virtual properties and automocking not working for <code>mock.Protected().As<>()</code> (<a href="https://github.com/tonyhallett"><code>@tonyhallett</code></a>, <a href="https://github-redirect.dependabot.com/moq/moq4/issues/1185">#1185</a>)</li> <li>Issue mocking VB.NET class with overloaded property/indexer in base class (<a href="https://github.com/myurashchyk"><code>@myurashchyk</code></a>, <a href="https://github-redirect.dependabot.com/moq/moq4/issues/1153">#1153</a>)</li> <li>Equivalent arrays don't test equal when returned from a method, making <code>Verify</code> fail when it should not (<a href="https://github.com/evilc0"><code>@evilc0</code></a>, <a href="https://github-redirect.dependabot.com/moq/moq4/issues/1225">#1225</a>)</li> <li>Property setups are ignored on mocks instantiated using <code>Mock.Of</code> (<a href="https://github.com/stakx"><code>@stakx</code></a>, <a href="https://github-redirect.dependabot.com/moq/moq4/issues/1066">#1066</a>)</li> <li><code>SetupAllProperties</code> causes mocks to become race-prone (<a href="https://github.com/estrizhok"><code>@estrizhok</code></a>, <a href="https://github-redirect.dependabot.com/moq/moq4/issues/1231">#1231</a>)</li> </ul> <h2>4.17.0</h2> <p>This version was skipped due to an intermittent NuGet publishing issue.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/moq/moq4/commit/dcf631eeccf62c5cdbe183c2e39634e4f5e1f6fe"><code>dcf631e</code></a> Update version to 4.17.1</li> <li><a href="https://github.com/moq/moq4/commit/759aa058d9a33232a945c69aebf868d0e69b28d9"><code>759aa05</code></a> Update nuget API key</li> <li><a href="https://github.com/moq/moq4/commit/4d052c180440b3420a10c24bb1cd381800035a02"><code>4d052c1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/moq/moq4/issues/1234">#1234</a> from stakx/stubbedpropertiessetup</li> <li><a href="https://github.com/moq/moq4/commit/e30183bdbc34e27d647ccb13d5613593bd6b78df"><code>e30183b</code></a> Update the changelog</li> <li><a href="https://github.com/moq/moq4/commit/5014bd0ae54eb6074ff033662976704614d33c2c"><code>5014bd0</code></a> Switch to <code>ConcurrentDictionary</code> for better thread-safety</li> <li><a href="https://github.com/moq/moq4/commit/e78509bd474a4ed6060e0f434709b2d372fdbaa2"><code>e78509b</code></a> Restore LINQ to Mocks' ability to set any property</li> <li><a href="https://github.com/moq/moq4/commit/a3e41a40aa92ecd41356da5a0a3ea8d1f72fa65b"><code>a3e41a4</code></a> Add dedicated setup type for <code>SetupAllProperties</code></li> <li><a href="https://github.com/moq/moq4/commit/5db2a42655417ed18013626a5e337f2a7fe4604c"><code>5db2a42</code></a> Remove current <code>SetupAllProperties</code> impl</li> <li><a href="https://github.com/moq/moq4/commit/a0243cdb13edcb0509199fa4beb2d2dd99aeaa00"><code>a0243cd</code></a> Property setups are ignored on mocks instantiated using <code>Mock.Of</code></li> <li><a href="https://github.com/moq/moq4/commit/611652c105115821073742eb37d04ddffafa2f1d"><code>611652c</code></a> Update version to 4.17.0</li> <li>Additional commits viewable in <a href="https://github.com/moq/moq4/compare/v4.16.1...v4.17.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
