//this test should be run with specific parameters public static void AddAssignment() { String k = ""; Assignment ass = new Assignment(); ass.Lecturer_ID = 1; ass.Student_ID = 1; ass.Status_ID = 1; Assert.IsTrue(AssignmentManager.AddAssigment(ass, out k)); var assignment = AssignmentManager.GetAssignmentByStudentId(1); Assert.IsTrue(assignment.Lecturer_ID == 1); Assert.IsTrue(assignment.Student_ID == 1); Assert.IsTrue(assignment.Status_ID == 1); }