public void AddParamsShouldAddParametersToUrl() { var builder = new Url("foo.com"); builder.AddParams(new { foo = "bar", bar = "foo" }); var result = builder.GetUrl(); Assert.That(result, Is.EqualTo("foo.com?foo=bar&bar=foo")); }