private void AssertComment(ListCommentsServiceModel expected, ListCommentsServiceModel actual) { Assert.Equal(expected.Id, actual.Id); Assert.Equal(expected.Content, actual.Content); Assert.Equal(expected.IsOwner, actual.IsOwner); Assert.Equal(expected.ProfileImage, actual.ProfileImage); Assert.Equal(expected.IsOwner, actual.IsOwner); this.CompareDatesExact(expected.DateAdded, actual.DateAdded); }
private void CompareComments(Comment expected, ListCommentsServiceModel actual) { Assert.Equal(expected.Id, actual.Id); Assert.Equal(expected.Content, actual.Content); this.CompareDatesExact(expected.DateAdded, actual.DateAdded); }