/// <function cref ="eCommerce_14a.DeliveryHandler.checkconnection() /// <function cref ="eCommerce_14a.PaymentHandler.checkconnection() public void ConnectToHandlers() { DeliveryHandler dh = DeliveryHandler.Instance; PaymentHandler ph = PaymentHandler.Instance; dh.setConnection(false); ph.setConnections(false); Assert.IsFalse(dh.checkconnection()); Assert.IsFalse(dh.checkconnection()); dh.setConnection(true); ph.setConnections(true); Assert.IsTrue(dh.checkconnection()); Assert.IsTrue(dh.checkconnection()); }