public async Task Get_UserId()
        {
            var logger = new Mock <ILogger <ValuesApiController> >();

            logger.SetupAllProperties();

            var dynamo = new Mock <IDynamoRecipeService>();

            dynamo.Setup(s =>
                         s.GetAllRecipesForUser(It.IsAny <string>()))
            .ReturnsAsync(new List <Recipe>()
            {
                TestingRecipe
            });

            var valuesController = new ValuesApiController(dynamo.Object, logger.Object);

            var result = await valuesController.Get("123");

            Assert.NotNull(result);

            var resultList = result.ToList();

            Assert.Single(resultList);
            Assert.Equal(TestingRecipe.EntityId, resultList[0].RecipeId);
            Assert.Equal(TestingRecipe.UserId, resultList[0].UserId);
            Assert.Equal(TestingRecipe.Name, resultList[0].Name);
            Assert.Equal(TestingRecipe.LastUpdateTime, resultList[0].LastUpdateTime);
            Assert.Equal(TestingRecipe.Servings, resultList[0].Servings);
            Assert.Equal(TestingRecipe.PrepTimeMins, resultList[0].PrepTimeMins);

            dynamo.Verify(s => s.GetAllRecipesForUser(It.IsAny <string>()), Times.Once);
        }
        public void Get()
        {
            var valuesController = new ValuesApiController(null, null);
            var result           = valuesController.Get();

            Assert.IsType <BadRequestResult>(result);
        }