public void DiscoverService() { RaciEndpoint ep = RaciClient.QueryEndpoint(_url); Assert.IsNotNull(ep, "Check returned endpoint is not null"); Assert.IsTrue(ep.Nodes.Count > 0, "Check endpoint has at least one registered driver"); string json = JsonConvert.SerializeObject(ep, Formatting.Indented); Console.WriteLine(json); }
public void PingService() { bool result = RaciClient.PingService(_url); Assert.IsTrue(result, "Check ping returns true"); }