protected override void Given() { _model = new ComposeArticleInputModel { Title = "test", Body = "some body", CommentsCount = 1, Id = "some_article" }; }
protected override void Given() { Container.GetMock <ISecurityContext>() .Setup(x => x.CurrentIdentity) .Returns(new TestIdentity("test")); _inputModel = new ComposeArticleInputModel { Id = "test", Body = "some body", CommentsCount = 1, IsDraft = true, Title = "test" }; }