示例#1
0
 public void Dispose()
 {
     mockRepo      = null;
     realProfile   = null;
     configuration = null;
     mapper        = null;
 }
示例#2
0
 public PhotoControllerTests()
 {
     mockRepo      = new Mock <IPhotoRepo>();
     realProfile   = new PhotosProfile();
     configuration = new MapperConfiguration(cfg => cfg.AddProfile(realProfile));
     mapper        = new Mapper(configuration);
 }