public static PollVotingRecord GetTestPollVotingRecord(this PersistenceTest test) { return(new PollVotingRecord { Customer = test.GetTestCustomer(), CreatedOnUtc = DateTime.UtcNow }); }
public static BlogComment GetTestBlogComment(this PersistenceTest test) { return(new BlogComment { IsApproved = true, CreatedOnUtc = new DateTime(2010, 01, 03), Customer = test.GetTestCustomer(), Store = test.GetTestStore() }); }
public static NewsComment GetTestNewsComment(this PersistenceTest test) { return(new NewsComment { CommentText = "Comment text 1", IsApproved = false, CreatedOnUtc = new DateTime(2010, 01, 03), Customer = test.GetTestCustomer(), Store = test.GetTestStore() }); }