Beispiel #1
0
        public void OnUnselectedTest()
        {
            TestTabItem tabItem = new TestTabItem();
            Assert.IsNull(tabItem.TestString);

            tabItem.IsSelected = true;
            tabItem.IsSelected = false;
            Assert.AreEqual(tabItem.TestString, "Unselected");
        }
Beispiel #2
0
        public void OnUnselectedTest()
        {
            TestTabItem tabItem = new TestTabItem();

            Assert.IsNull(tabItem.TestString);

            tabItem.IsSelected = true;
            tabItem.IsSelected = false;
            Assert.AreEqual(tabItem.TestString, "Unselected");
        }