public void GetAllPostLikes_PostAreExist_Returns_ListOfPostLike()
        {
            // Arrange
            var mock            = new Mock <IUnitOfWork>();
            var likeManagerMock = new Mock <IPostRepository <Post> >();
            int inputId         = 1;
            var expectedPost    = new Post()
            {
                ApplicationUser = new ApplicationUser()
                {
                    UserProfile = new UserProfile()
                },
                PostLikes = new List <PostLike>()
                {
                    new PostLike()
                    {
                        Id = 1, PostId = 1, User = "******", Post = new Post()
                        {
                            ApplicationUser = new ApplicationUser()
                            {
                                UserProfile = new UserProfile()
                            }
                        }
                    }
                }
            };

            mock.Setup(x => x.PostRepository).Returns(likeManagerMock.Object);
            likeManagerMock.Setup(x => x.GetById(inputId)).Returns(expectedPost);

            // Act
            var likeService = new LikeService(mock.Object);
            var result      = likeService.GetAllPostLikes(inputId);

            // Assert
            Assert.AreEqual(expectedPost.PostLikes.FirstOrDefault().Id, result.FirstOrDefault().Id);
            Assert.AreEqual(expectedPost.PostLikes.FirstOrDefault().Post, result.FirstOrDefault().Post);
            Assert.AreEqual(expectedPost.PostLikes.FirstOrDefault().User, result.FirstOrDefault().User);
            Assert.AreEqual(expectedPost.PostLikes.FirstOrDefault().PostId, result.FirstOrDefault().PostId);
        }