C# Class CarbonFitnessTest.Web.Controller.FoodController.InputTest

Inheritance: BaseTestController
Show file Open project: yodiz/CarbonFitness

Private Methods

Method Description
AssertUserIngredientsExist ( MockFactory mockFactory, InputFoodModel model ) : void
GetSetuppedUserContextMock ( MockFactory mockFactory ) : Mock
GetSetuppedUserIngredientBusinessLogicMock ( MockFactory mockFactory ) : Mock
getFoodController ( Mock userIngredientBusinessLogicMock, Mock userContextMock ) : CarbonFitness.App.Web.Controllers.FoodController
runMethodUnderTest ( object>.Func callMethodUnderTest, CarbonFitness foodController ) : InputFoodModel
shouldAddIngredientToCurrentUser ( ) : void
shouldGetRDIOfNutrients ( ) : void
shouldGetSumOfNutrients ( ) : void
shouldGetTodaysUserIngredientsOnLoad ( ) : void
shouldLoadUserIngredientsAfterAddedIngredients ( ) : void
shouldRemoveUserIngredient ( ) : void
shouldReportErrorWhenInvalidDateEnteredOnPage ( ) : void
shouldReportErrorWhenNoIngredientFound ( ) : void
testController ( object>.Func callMethodUnderTest, Mock userIngredientBusinessLogicMock, Mock userContextMock ) : InputFoodModel