public async Task DataFlow_HardDeleteById_Test()
        {
            IPostsRepository postsRepository = new PostsRepository();

            IoCManager.Resolver.InjectProperties(postsRepository);

            var findAllResult = await postsRepository.FindAll();

            Assert.IsEmpty(findAllResult);

            var postCount  = 0;
            var savedPosts = await postsRepository.SaveAll(
                new[]
            {
                new PostEntity {
                    Title = $"{postCount}", Content = $"{postCount++}"
                },
                new PostEntity {
                    Title = $"{postCount}", Content = $"{postCount++}"
                },
                new PostEntity {
                    Title = $"{postCount}", Content = $"{postCount++}"
                },
            });

            Assert.IsNotNull(savedPosts);
            Assert.IsNotEmpty(savedPosts);
            Assert.AreEqual(postCount, savedPosts.Count);

            foreach (var postEntity in savedPosts)
            {
                Assert.IsFalse(postEntity.IsDeleted);
            }

            var secondPost = savedPosts[1];

            await postsRepository.DeleteById(secondPost.PostId, softDelete : false);

            var foundPosts = await postsRepository.FindAll();

            Assert.IsNotNull(foundPosts);
            Assert.IsNotEmpty(foundPosts);
            Assert.AreEqual(postCount - 1, foundPosts.Count);

            foreach (var postEntity in foundPosts)
            {
                Assert.IsFalse(postEntity.IsDeleted);
            }
        }