public void Parse_RelativeUri_Throws() => Assert.Throws <ArgumentException>(() => UniformResourceIdentifier.Parse("example.com"));
public void Parse_ResultsInCorrectType(string uri, Type expectedType) { var result = UniformResourceIdentifier.Parse(uri); Assert.IsType(expectedType, result); }