public void AddToWishList() { CtrStudent ctrStudentObj = new CtrStudent(); MdlStudent mdlStudentObj = StudentTests.GenerateStudentObj(); mdlStudentObj.Email = "*****@*****.**"; ctrStudentObj.AddStudent(mdlStudentObj); CtrGetData ctrGetDataObj = new CtrGetData(); DataSet ds = ctrGetDataObj.GetAllFlats(); MdlApplication mdlApplicationObj = new MdlApplication(); string studentEmail = "*****@*****.**"; int flatId = (int)ds.Tables[0].Rows[0]["Id"]; int score = 100; bool actual = ctrStudentObj.AddToWishlist(studentEmail, flatId, score); bool expected = true; Assert.AreEqual(expected, actual); }