Esempio n. 1
0
 public void Init()
 {
     this.likeService = TestObjectFactory.GetLikeService();
     this.userService = TestObjectFactory.GetUserService();
     AutoMapperConfig.RegisterMappings(Assembly.Load(Assemblies.WebApi));
 }
 public void Init()
 {
     this.objectFactory  = new TestObjectFactory();
     this.commentService = objectFactory.GetCommentsService();
     this.userService    = objectFactory.GetUserService();
 }