public void ShouldFailGetByIdAndAddNotification()
        {
            identityResolver.RefreshId();

            Ticket ticket = applicationService.GetById(new Guid("36f90131-8ab3-4764-a56c-2ee78284562f"));

            Assert.AreEqual("Usuário inválido", domainNotificationHandler.GetNotifications().First().Title);
        }
        public void ShouldFailAddAndRemoveArticleCommentDifferentUser()
        {
            PopulateRepository();

            #region Add
            AddArticleCommentCommand addCommand = new AddArticleCommentCommand
            {
                ArticleId = new Guid("4aeabf09-da78-4fcd-bb73-667605871a5e"),
                Body      = "hELLO IN COmMeNtIng hERe!!"
            };

            applicationService.AddComment(addCommand);

            Article article = applicationService.GetById(new Guid("4aeabf09-da78-4fcd-bb73-667605871a5e"));

            Assert.AreEqual(1, article.Comments.Count());
            #endregion

            //REFRESH USER ID
            identityResolver.RefreshId();
            //NOW IT'S LIKE A DIFFERENT USER

            #region Remove
            RemoveArticleCommentCommand removeCommand = new RemoveArticleCommentCommand
            {
                ArticleId = new Guid("4aeabf09-da78-4fcd-bb73-667605871a5e"),
                CommentId = article.Comments.First().Id
            };

            applicationService.RemoveComment(removeCommand);

            Assert.AreEqual("Erro na remoção", domainNotificationHandler.GetNotifications().First().Title);
            #endregion
        }