private void ComparePublications(Publication expected, ListPublicationsServiceModel actual) { Assert.Equal(expected.Id, actual.Id); Assert.Equal(expected.Title, actual.Title); Assert.Equal(expected.Content, actual.Content); Assert.Equal(expected.Views, actual.Views); }
private void AssertPublicationListServiceModel(ListPublicationsServiceModel expected, ListPublicationsServiceModel actual) { Assert.Equal(expected.Id, expected.Id); Assert.Equal(expected.Title, expected.Title); Assert.Equal(expected.Content, expected.Content); Assert.Equal(expected.Views, expected.Views); Assert.Equal(expected.CommentsCount, expected.CommentsCount); }