public void Can_construct_non_standard_port_http_request_url() { const string expected = "http://example.com:8080/resource"; var input = "HTTP://Example.com:8080/resource?id=123".AsUri(); var actual = OAuthTools.ConstructRequestUrl(input); Assert.AreEqual(expected, actual); Console.WriteLine(actual); }