public void Dispose() { mockRepo = null; realProfile = null; configuration = null; mapper = null; }
public CommandsControllerTests() { mockRepo = new Mock <ICommandAPIRepo>(); realProfile = new CommandsProfiles(); configuration = new MapperConfiguration(cfg => cfg.AddProfile(realProfile)); mapper = new Mapper(configuration); }