public void GetStudentWishlist() { CtrStudent ctrStudentObj = new CtrStudent(); DataSet ds = ctrStudentObj.GetWishlist("*****@*****.**"); string actual = ds.Tables[0].Rows[0]["Address"].ToString().Trim(); string expected = "Porthusgade"; Assert.AreEqual(expected, actual); }
public DataSet GetWishlist(string studentEmail) { ctrStudentObj = new CtrStudent(); Console.WriteLine(); Console.WriteLine("GetWishlist() " + GetExecutionThreadTime()); return ctrStudentObj.GetWishlist(studentEmail); }