public void Modifying_PathSegments_Should_Not_Require_Query_Parse_Test() { var uri = new Modifying_PathSegments_Should_Not_Require_Query_Parse_object("http://localhost:3333/sdata/aw/dynamic/-/accounts"); uri.AppendPath("nested"); Assert.That(uri.ToString(), Is.EqualTo("http://localhost:3333/sdata/aw/dynamic/-/accounts/nested")); Assert.That(uri.OnParseQueryCalled, Is.False); }
public void Modifying_PathSegments_Should_Not_Require_Query_Parse_Test() { var uri = new Modifying_PathSegments_Should_Not_Require_Query_Parse_object("http://localhost:3333/sdata/aw/dynamic/-/accounts"); uri.AppendPath("nested"); Assert.That(uri.ToString(), Is.EqualTo("http://localhost:3333/sdata/aw/dynamic/-/accounts/nested")); Assert.That(uri.OnParseQueryCalled, Is.False); }