public void testAddComment() { Student stud = new Student(); Period pp = new Period(); Comment cs = new Comment(); cs.CommentText = "BLAH BLAH BLAH! BLAH BLAH BLAH!"; stud.StudentID = "123"; pp.PeriodID = 11; contoller.addOrUpdateStudent(stud); contoller.addOrUpdatePeriod(stud, pp); contoller.addOrUpdateComment(stud, cs, pp); //Assert.AreEqual(contoller.getPeriod(stud, 11).PeriodComment.CommentText, cs.CommentText); }