public static void GetComponents_BadUriFormat()
{
http = new Uri(full_http);
TestUriParser parser = new TestUriParser();
Assert.Throws<System.ArgumentOutOfRangeException>(() => { parser.GetComponents(http, UriComponents.Host, (UriFormat)Int32.MinValue); });
}