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));         
        }
Beispiel #2
0
 public void Init()
 {
     sideBar = new CloudCore.Web.Core.Sidebar();
 }