Пример #1
0
        public void SetDietModeDbsFailTest()
        {
            string con = MyMethodsLib.GetConnectionString();
            string exp = "M:";
            string res = MyMethodsLib.SetDietModeDbs("ladygoodwill", "M: Intense", con);

            Assert.AreNotEqual(exp, res);
        }
Пример #2
0
        public void SetDietModeDbsExceptionThrownTest()
        {
            string exp = "";

            try
            {
                string con = MyMethodsLib.GetConnectionString();
                exp = MyMethodsLib.SetDietModeDbs("ladygoodwill", "M: Intense", con);
                Assert.Fail();
            }
            catch (Exception) { }
        }