コード例 #1
0
 public void Dispose()
 {
     mockRepo      = null;
     mapper        = null;
     configuration = null;
     realProfile   = null;
 }
コード例 #2
0
 public RecipeControllerTests()
 {
     mockRepo      = new Mock <IRecipeAPIRepo>();
     realProfile   = new RecipesProfile();
     configuration = new MapperConfiguration(cfg => cfg.AddProfile(realProfile));
     mapper        = new Mapper(configuration);
 }