public void ShouldErrorWhenGetPostContentByIdFoundNoRecord()
{
_postContentRepository = new Mock<IPostContentRepository>();
_postContentRepository.Setup(a => a.Find(It.IsAny<Expression<Func<PostContent, bool>>>(), true))
.Returns(new List<PostContent>());
_postContentsLogic = new PostContentsLogic(_postContentRepository.Object);
var content = _postContentsLogic.Get(1);
Assert.NotNull(content.Error);
Assert.AreEqual((int)Constants.Error.RecordNotFound, content.Error.Id);
Assert.AreEqual("Cannot find post content with Id 1", content.Error.Message);
}