public void GetVeggieOptionFromDbsFailTest() { string exp = "Not going to happen"; string con = MyMethodsLib.GetConnectionString(); string res = MyMethodsLib.GetVeggieOptionFromDbs("ladygoodwill", con); Assert.AreNotEqual(exp, res); }
public void GetVeggieOptionFromDbsTest() { string exp = ""; string con = MyMethodsLib.GetConnectionString(); string res = MyMethodsLib.GetVeggieOptionFromDbs("ladygoodwill", con); Assert.AreEqual(exp, res); }
public void GetVeggieOptionFromDbsExceptionThrownTest() { try { string con = MyMethodsLib.GetConnectionString(); string res = MyMethodsLib.GetVeggieOptionFromDbs("ladygoodwill", con); Assert.Fail(); } catch (Exception) { } }