public void Test_AddImageColumn()
        {
            //---------------Set up test pack-------------------
            IGridBase gridBase = CreateGridBaseStub();
            //--------------Assert PreConditions----------------

            //---------------Execute Test ----------------------
            IDataGridViewImageColumn imgColumn = GetControlFactory().CreateDataGridViewImageColumn();

            gridBase.Columns.Add(imgColumn);
            //---------------Test Result -----------------------
            Assert.AreEqual(1, gridBase.Columns.Count);
            //---------------Tear Down -------------------------
        }
        public override void TestCreateDataGridViewColumn_WithTypeName_Image()
        {
            //---------------Set up test pack-------------------
            IDataGridViewImageColumn dataGridViewNumericUpDownColumn = GetControlFactory().CreateDataGridViewImageColumn();
            //-------------Assert Preconditions -------------

            //---------------Execute Test ----------------------
            IDataGridViewColumn dataGridViewColumn = GetControlFactory().
                                                     CreateDataGridViewColumn("DataGridViewImageColumn", null);

            //---------------Test Result -----------------------
            Assert.IsNotNull(dataGridViewColumn);
            Assert.IsInstanceOf(typeof(IDataGridViewImageColumn), dataGridViewColumn);
            Assert.AreSame(dataGridViewNumericUpDownColumn.GetType(), dataGridViewColumn.GetType());
        }
        public void Test_IndexerReturnsImageColumn()
        {
            //---------------Set up test pack-------------------
            IGridBase gridBase = CreateGridBaseStub();
            IDataGridViewImageColumn imgColumn = GetControlFactory().CreateDataGridViewImageColumn();

            gridBase.Columns.Add(imgColumn);
            //--------------Assert PreConditions----------------
            Assert.AreEqual(1, gridBase.Columns.Count);
            //---------------Execute Test ----------------------
            IDataGridViewColumn col = gridBase.Columns[0];

            //---------------Test Result -----------------------
            Assert.IsInstanceOf(typeof(IDataGridViewImageColumn), col);
            //---------------Tear Down -------------------------
        }