public void TabList() { bool success = controller.LoadInitialFile(TestUtil.GetTestFile("selectionmgr\\sampleevent1.coursescribe"), true); Assert.IsTrue(success); Assert.AreEqual(7, selectionMgr.TabCount); string[] expected = { "All controls", "Green Y", "Rambo", "SampleCourse4", "Score 4", "White", "Yellow" }; for (int i = 0; i < expected.Length; ++i) { Assert.AreEqual(expected[i], selectionMgr.TabName(i)); } }