public void TestGettingStudentsEnrolledInPaper() { Student s = new Student("A Student", 111, DateTime.ParseExact("20/10/1974", "dd/MM/yyyy", null)); Paper p = new Paper("Paper 101", 100101, "Paper Man"); p.AddStudentToPaper(s); Dictionary <int, Student> expected = new Dictionary <int, Student> { }; expected.Add(111, s); Dictionary <int, Student> actual = p.StudentsInPaper; CollectionAssert.AreEqual(expected, actual); }