public void UpdateNutrition_AllPropertiesValid_DoesNotThrowArgumentException()
        {
            //Arrange
            Mock <AccessTokenManagerBaseStub> tokenManager = new Mock <AccessTokenManagerBaseStub>();
            NutritionEndpoint nutritionRequest             = new NutritionEndpoint(tokenManager.Object, new UsersModel());

            //Act and Assert
            Assert.DoesNotThrow(() => { nutritionRequest.UpdateNutrition(ValidNutrition); });
        }
        public void UpdateNutrition_AllMeasurementsNull_ArgumentException()
        {
            //Arrange
            Mock <AccessTokenManagerBaseStub> tokenManager = new Mock <AccessTokenManagerBaseStub>();
            NutritionEndpoint nutritionRequest             = new NutritionEndpoint(tokenManager.Object, new UsersModel());

            //Act
            ValidNutrition.Calories      = null;
            ValidNutrition.Carbohydrates = null;
            ValidNutrition.Fat           = null;
            ValidNutrition.Fiber         = null;
            ValidNutrition.Protein       = null;
            ValidNutrition.Sodium        = null;
            ValidNutrition.Water         = null;
            //Assert
            Assert.Throws(typeof(ArgumentException), () => { nutritionRequest.UpdateNutrition(ValidNutrition); });
        }