Not sure how to test this .NET string with FluentValidation
<p>REF: <a href="https://dotnetfiddle.net/I1JFOW" rel="nofollow noreferrer">A .NET Fiddle</a> of (basically) the code, below.</p>

<p>I'm trying to test if a <code>string</code> is a valid <code>Uri</code> using FluentValidation:</p>

<pre><code>public class LinksValidator : AbstractValidator&lt;string&gt;
{
    public LinksValidator()
    {
        RuleFor(x =&gt; x)
            .Must(LinkMustBeAUri)
            .WithMessage("Link '{PropertyValue}' must be a valid URI. eg: http://www.SomeWebSite.com.au");
    }

    private static bool LinkMustBeAUri(string link)
    {
        if (string.IsNullOrWhiteSpace(link))
        {
            return false;
        }

        Uri result;
        return Uri.TryCreate(link, UriKind.Absolute, out result);
    }
}
</code></pre>

<p>and for the validation test...</p>

<pre><code>public class LinksValidatorTests
{
    private readonly LinksValidator _linksValidator;

    public LinksValidatorTests()
    {
        _linksValidator = new LinksValidator();    
    }

    [Theory]
    [InlineData("Http://www.SomeDomain.com")]
    [InlineData("https://www.SomeDomain.com")]
    [InlineData("http://www.SomeDomain.com.au")]
    public void GivenAValidUri_Validate_ShouldNotHaveAValidationError(string uri)
    {
        // Arrange.

        // Act &amp; Assert.
        _linksValidator.ShouldNotHaveValidationErrorFor(l =&gt; l, uri);
    }
}
</code></pre>

<p>but the last line in that test method doesn't compile:</p>

<p><a href="https://i.stack.imgur.com/QYuZr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QYuZr.png" alt="enter image description here"></a></p>

<p>How can I provide a hint to the compiler to tell it which method to use?</p>