public void Dispose() { mockRepo = null; mapper = null; configuration = null; realProfile = null; }
public RecipeControllerTests() { mockRepo = new Mock <IRecipeAPIRepo>(); realProfile = new RecipesProfile(); configuration = new MapperConfiguration(cfg => cfg.AddProfile(realProfile)); mapper = new Mapper(configuration); }