public void testUrl() { restServiceClient.PathFormat = "Meth={0}&variable={1}"; string varCode = "HG"; // prep for many test parameters = new string[2]; parameters[0] = "getVariableInfo"; parameters[1] = varCode; string url = restServiceClient.createUrl(parameters); Assert.That(url.Contains(varCode)); }