示例#1
0
 public void Dispose()
 {
     mockRepo     = null;
     realProfile  = null;
     configuation = null;
     mapper       = null;
 }
示例#2
0
 public MemberControllerTests()
 {
     mockRepo     = new Mock <IMemberRepo>();
     realProfile  = new MembersProfile();
     configuation = new MapperConfiguration(cfg => cfg.AddProfile(realProfile));
     mapper       = new Mapper(configuation);
 }