public void Should_Discover_OpenID_Providers_Using_URI_Syntax() { rpid = "rp-discovery-webfinger_acct"; // given string userid = rpid + "@" + opBaseurl.Host; OpenIdRelyingParty rp = new OpenIdRelyingParty(); // when string issuer = rp.ObtainIssuerFromEmail(userid, opBaseurl.ToString()); // then Assert.AreEqual(issuer.TrimEnd('/'), GetBaseUrl("/").TrimEnd('/')); }