public async void Content_Create_length()
        {
            Mock <IQuoteTweetRepository> quoteTweetRepository = new Mock <IQuoteTweetRepository>();

            quoteTweetRepository.Setup(x => x.Get(It.IsAny <int>())).Returns(Task.FromResult(new QuoteTweet()));

            var validator = new ApiQuoteTweetServerRequestModelValidator(quoteTweetRepository.Object);
            await validator.ValidateCreateAsync(new ApiQuoteTweetServerRequestModel());

            validator.ShouldHaveValidationErrorFor(x => x.Content, new string('A', 141));
        }
        public async void RetweeterUserId_Create_Valid_Reference()
        {
            Mock <IQuoteTweetRepository> quoteTweetRepository = new Mock <IQuoteTweetRepository>();

            quoteTweetRepository.Setup(x => x.UserByRetweeterUserId(It.IsAny <int>())).Returns(Task.FromResult <User>(new User()));

            var validator = new ApiQuoteTweetServerRequestModelValidator(quoteTweetRepository.Object);
            await validator.ValidateCreateAsync(new ApiQuoteTweetServerRequestModel());

            validator.ShouldNotHaveValidationErrorFor(x => x.RetweeterUserId, 1);
        }
        public async void SourceTweetId_Create_Invalid_Reference()
        {
            Mock <IQuoteTweetRepository> quoteTweetRepository = new Mock <IQuoteTweetRepository>();

            quoteTweetRepository.Setup(x => x.TweetBySourceTweetId(It.IsAny <int>())).Returns(Task.FromResult <Tweet>(null));

            var validator = new ApiQuoteTweetServerRequestModelValidator(quoteTweetRepository.Object);

            await validator.ValidateCreateAsync(new ApiQuoteTweetServerRequestModel());

            validator.ShouldHaveValidationErrorFor(x => x.SourceTweetId, 1);
        }