public virtual void TestBuildRelativeURLStringWithLeadingSlash() { string dbUrlString = "http://10.0.0.3:4984/todos/"; Replication replicator = new Pusher(null, new Uri(dbUrlString), false, null); string relativeUrlString = replicator.BuildRelativeURLString("/foo"); string expected = "http://10.0.0.3:4984/todos/foo"; Assert.AreEqual(expected, relativeUrlString); }