Represents a ComboBox control
Inheritance: System.Windows.Forms.ComboBox, IComboBox
 protected override EnumComboBoxMapper CreateComboBox(string propertyName, bool setBO)
 {
     EnumBO bo = new EnumBO();
     ComboBoxWin comboBox = new ComboBoxWin();
     IControlFactory controlFactory = new ControlFactoryWin();
     EnumComboBoxMapper enumComboBoxMapper = new EnumComboBoxMapper(comboBox, propertyName, false, controlFactory);
     if (setBO) enumComboBoxMapper.BusinessObject = bo;
     return enumComboBoxMapper;
 }
 public void Test_RemoveCurrentHandlers_WhenMapperUsingHabaneroControl_ShouldAddBehaviours()
 {
     //---------------Set up test pack-------------------
     var comboBoxWin = new ComboBoxWin {Name = "TestComboBox", Enabled = true};
     var comboBoxMapper = new ComboBoxMapperStub(comboBoxWin);
     //---------------Assert Precondition----------------
     Assert.IsInstanceOf<IComboBox>(comboBoxMapper.Control);
     //---------------Execute Test ----------------------
     var comboBoxStrategyWin = new ComboBoxDefaultMapperStrategyWin();
     comboBoxStrategyWin.RemoveCurrentHandlers(comboBoxMapper);
     //---------------Assert Result----------------------
     Assert.IsTrue(true, "If an error was not thrown then we are OK");
 }