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