Beispiel #1
0
        public void SetPlacementTest()
        {
            var menuItem = new MenuItemDefinition("Sample");

            Assert.AreEqual(0, menuItem.Section);
            Assert.AreEqual(0, menuItem.Order);

            menuItem.SetPlacement(1, 2);

            Assert.AreEqual(1, menuItem.Section);
            Assert.AreEqual(2, menuItem.Order);
        }