public void TimedCommentHasACommentProperty() { TimedComment tc = new TimedComment(new DateTime(2008, 9, 15, 12, 0, 0, DateTimeKind.Utc), "Comment"); Assert.AreEqual <string>("Comment", tc.Comment); }
public void TimedCommentHasATimestampProperty() { TimedComment tc = new TimedComment(new DateTime(2008, 9, 15, 12, 0, 0, DateTimeKind.Utc), "Comment"); Assert.AreEqual <DateTime>(new DateTime(2008, 9, 15, 12, 0, 0, DateTimeKind.Utc), tc.Timestamp); }