public void WsListContent() { // Setup dialog to show Kalaba (xkal) related wss. m_dlg.ShowDialog(m_wsKalaba); m_dlg.VerifyListBox(new[] { "Kalaba", "Kalaba (International Phonetic Alphabet)" }); m_dlg.VerifyRelatedWritingSystem("kal"); m_dlg.VerifyLoadedForListBoxSelection("Kalaba"); // Select Kalaba (IPA) and verify dialog is setup for that one. m_dlg.WsList.SelectedItem = m_dlg.WsList.Items.Cast <CoreWritingSystemDefinition>().Single(ws => ws.DisplayLabel == "Kalaba (International Phonetic Alphabet)"); m_dlg.VerifyLoadedForListBoxSelection("Kalaba (International Phonetic Alphabet)"); }