public void Modifying_QueryArgs_Should_Not_Require_Path_Parse_Test() { var uri = new Modifying_QueryArgs_Should_Not_Require_Path_Parse_Object("http://localhost:3333/sdata/aw/dynamic/-/accounts"); uri["format"] = "html"; Assert.That(uri.ToString(), Is.EqualTo("http://localhost:3333/sdata/aw/dynamic/-/accounts?format=html")); Assert.That(uri.OnParsePathCalled, Is.False); }
public void Modifying_QueryArgs_Should_Not_Require_Path_Parse_Test() { var uri = new Modifying_QueryArgs_Should_Not_Require_Path_Parse_Object("http://localhost:3333/sdata/aw/dynamic/-/accounts"); uri["format"] = "html"; Assert.That(uri.ToString(), Is.EqualTo("http://localhost:3333/sdata/aw/dynamic/-/accounts?format=html")); Assert.That(uri.OnParsePathCalled, Is.False); }