Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        public void PingService()
        {
            bool result = RaciClient.PingService(_url);

            Assert.IsTrue(result, "Check ping returns true");
        }