public void StringKeyValue()
        {
            const string keyValue = "ABC";
            string       key      = ComboBoxCellController.GetKey(keyValue) !;

            Assert.AreEqual(keyValue, key);
        }
        public void FetchItems()
        {
            Session.BeginUpdate();
            Data.Newsletters[0].Date = DateTime.Parse("1960-09-13");
            Session.Commit();
            string key = ComboBoxCellController.GetKey(Data.Newsletters[0]) !;

            Assert.AreEqual("1960/09/13", key, "Date key");
            CellController = CreateCellController("Series");
            Assert.AreEqual("Event", CellController.TableName, "TableName");
            var seriesItems = CellController.GetItems();

            Assert.AreEqual(1, seriesItems.Length, "seriesItems.Length");
            Assert.AreEqual(0, EditorView.ShowWarningMessageCount, "ShowWarningMessageCount");
            CellController = CreateCellController("Location");
            var locationItems = CellController.GetItems();

            Assert.AreEqual(2, locationItems.Length, "locationItems.Length");
            CellController = CreateCellController("NewsLetter");
            var newsLetterItems = CellController.GetItems();

            // Includes default newsletter
            Assert.AreEqual(3, newsLetterItems.Length, "newsLetterItems.Length");
        }