Esempio n. 1
0
        public virtual News AssignNewsResponseSuccess()
        {
            var news = new News();
            this.Dao.GetNews(this.Request.NewsId).Returns(news);

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