예제 #1
0
        public void CanAddToSideBar()
        {
            var sideBar = new CloudCore.Web.Core.Sidebar();
            contextModel.InitializeSidebar(sideBar, null);

            Assert.IsTrue(sideBar.CanDisplay);

            sideBar.ForEach(i => Assert.AreEqual(1, i.Items.Count));         
        }
예제 #2
0
 public void Init()
 {
     sideBar = new CloudCore.Web.Core.Sidebar();
 }