コード例 #1
0
 public void TestSetup()
 {
     _mock          = new RecipeAccessorMock();
     _recipeManager = new RecipeManager(_mock);
     _recipes       = _recipeManager.RetrieveAllRecipes();
 }
コード例 #2
0
 /// <summary author="Jared Greenfield" created="2019/02/21">
 /// RecipeManager is an implementation of the IRecipeManager interface to interact with the mock accessor
 /// </summary>
 public RecipeManager(RecipeAccessorMock mock)
 {
     _recipeAccessor = mock;
 }