public void WorkRequestMethods() { Volunteer v = Utility.GetVolunteer(); Organization o = Utility.GetOrganization(); VolunteerProject vp = Utility.GetVolunteerProject(); WorkRequest wr = new WorkRequest(v, vp); //Check AcceptMatch wr.AcceptMatch(); Assert.AreEqual(true, wr.Accepted); //Check DeleteMatch wr.DeleteMatch(); Assert.IsNull(wr.Volunteer); Assert.IsNull(wr.Project); }