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