public void Build() { var uut = new PageUrlBuilder <Uom>(Key, Lookup, PageSize); var url = uut.Build(null); Assert.AreEqual($"http://qtb3.com/uom?searchText=&skip={Skip}&take={PageSize}", url); }
public void Build_Filter() { var filter = "zzz"; var uut = new PageUrlBuilder <Uom>(Key, Lookup, PageSize); var url = uut.Build(filter); Assert.AreEqual($"http://qtb3.com/uom?searchText={filter}&skip={Skip}&take={PageSize}", url); }
public void TestInitialize() { PageUrlBuilder.RegisterRootNamespace("Devshed.Web"); }