public BlogArticleServiceTest() { this.blogRepositoryMock = new Mock <IRepository <LearningSystemContext, Article> >(); this.context = LearningSystemContextMock.GetContext(); this.mapper = AutoMapperMock.GetMapper(); }
public CourseInstancesServiceTest() { this.mapper = AutoMapperMock.GetMapper(); this.courseInstancesRepositoryMock = new Mock <IRepository <LearningSystemContext, CourseInstance> >(); this.context = LearningSystemContextMock.GetContext(); }
public void TestInitialize() { this.courseRepositoryMock = new Mock <IRepository <LearningSystemContext, Course> >(); this.context = LearningSystemContextMock.GetContext(); this.mapper = AutoMapperMock.GetMapper(); }