public void Dispose()
 {
     iCommentService = null;
     mapper          = null;
     configuration   = null;
     realProfile     = null;
 }
 public CommentControllerTests()
 {
     iCommentService = new Mock <ICommentService>();
     realProfile     = new CommentProfile();
     configuration   = new MapperConfiguration(cfg => cfg.AddProfile(realProfile));
     mapper          = new Mapper(configuration);
 }