public void Client_GetVersion() { RESTfulEngine.CSharpClient.Version v = Report.GetVersion(uri); Assert.IsNotNull(v); Assert.IsTrue(v.EngineVersion is string); Assert.IsTrue(v.ServiceVersion is string); }
//[TestMethod] for finding out the versioning of the REST Engine public String Client_GetVersion() { string engine; RESTfulEngine.CSharpClient.Version v = Report.GetVersion(MachineEnvironment()); engine = "Engine Version:" + v.EngineVersion + "Service Version:" + v.ServiceVersion; return(engine); }