public void UpdateStudentProfileNonExistingEmail() { CtrStudent ctrStudentObj = new CtrStudent(); bool expected = false; bool actual = ctrStudentObj.UpdateProfile("*****@*****.**", 2, false, 0, true, "name", "surname", "address", "postCode", "city", "country", "phone"); Assert.AreEqual(expected, actual); }
public bool EditStudentProfile(string email, int numberOfChildren, bool pet, int numberOfCohabitors, bool disabled, string name, string surname, string address, string postCode, string city, string country, string phone) { ctrStudentObj = new CtrStudent(); Console.WriteLine(); Console.WriteLine("EditStudentProfile() " + GetExecutionThreadTime()); return ctrStudentObj.UpdateProfile(email, numberOfChildren, pet, numberOfCohabitors, disabled, name, surname, address, postCode, city, country, phone); }