Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 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);
 }