コード例 #1
0
        public void GetRecipesDetails_ShouldReturnRecipe()
        {
            var testShop   = GetTestRecipes()[0];
            var controller = new RecipeController(GetRepository());

            var result = controller.GetDetails(1) as RecipeDto;

            Assert.AreEqual(testShop, result);
        }