public void Connect() { try { //Intialise connection to all services ConnectionService.Connections.DavisonService davison = new DavisonService(); ConnectionService.Connections.CuttersService cutters = new CuttersService(); ConnectionService.Connections.DealersService dealers = new DealersService(); ConnectionService.Connections.KwikiService kwiki = new KwikiService(); ConnectionService.Connections._3AmigoService _3amigos = new _3AmigoService(); } catch (Exception e) { Debug.WriteLine("Could not connect to Services" + e); } }
public void davisonTest() { DavisonService davison = new DavisonService(); Assert.IsInstanceOfType(davison, typeof(HttpClient)); }