コード例 #1
0
        public void gettingARecipe()
        {
            // Setup
            Recipe expected = new Recipe(0);

            rm.AddOld(expected);

            // Exercise
            Recipe actual = rm.GetRecipeAt(0);

            // Verify that we can get this particular recipe object
            Assert.AreSame(expected, actual, "The same recipe object");
        }