public void Dispose() { mockRepo = null; mapper = null; configuration = null; realProfile = null; }
public CodeDeckControllerTests() { mockRepo = new Mock <ICodeCardRepo>(); realProfile = new CodeCardProfile(); configuration = new MapperConfiguration(cfg => cfg.AddProfile(realProfile)); mapper = new Mapper(configuration); }