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();
 }
Ejemplo n.º 3
0
 public void TestInitialize()
 {
     this.courseRepositoryMock = new Mock <IRepository <LearningSystemContext, Course> >();
     this.context = LearningSystemContextMock.GetContext();
     this.mapper  = AutoMapperMock.GetMapper();
 }