public virtual News AssignNewsResponseSuccess() { var news = new News(); this.Dao.GetNews(this.Request.NewsId).Returns(news); return news; }
public virtual News AssignForNewsResponseHasTitle() { var news = new News { Title = "TestTitle" }; this.Dao.GetNews(this.Request.NewsId).Returns(news); return news; }
public virtual News AssignForNewsResponseHasBody() { var news = new News { Body = "TestBody" }; this.Dao.GetNews(this.Request.NewsId).Returns(news); return news; }