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