Beispiel #1
0
        public void TestDbConnection()
        {
            ConnectionController conCtrl = new ConnectionController();
            bool status = true;

            try
            {
                conCtrl.DbConnectionTest();
            }
            catch (FaultException <DbConnectionError> exception)
            {
                Console.WriteLine(exception.Detail.Message);
                status = false;
            }

            Assert.IsTrue(status);
        }
Beispiel #2
0
        public void TestConnection()
        {
            ConnectionController conCtrl = new ConnectionController();

            conCtrl.DbConnectionTest();
        }