public void RefTest() { string expectedResultSimple = "Product(1)/Addresses/$ref"; UrlBuilder u = new UrlBuilder("Product"); Assert.AreEqual <string>(expectedResultSimple, u.BuildQueryRef(1, "Addresses")); }