Provides a set of behaviour strategies that can be applied to a list ComboBox depending on the environment
Наследование: IListComboBoxMapperStrategy
 public void Test_AddItemSelectedEventHandler_WhenMapperUsingHabaneroControl_ShouldAddBehaviours()
 {
     //---------------Set up test pack-------------------
     var cmbWin = new ComboBoxWin() { Name = "TestComboBox", Enabled = true };
     var comboBoxMapper = new ListComboBoxMapperStub(cmbWin);
     //---------------Assert Precondition----------------
     Assert.IsInstanceOf<IComboBox>(comboBoxMapper.Control);
     //---------------Execute Test ----------------------
     var comboBoxStrategyWin = new ListComboBoxMapperStrategyWin();
     comboBoxStrategyWin.AddItemSelectedEventHandler(comboBoxMapper);
     //---------------Assert Result----------------------
     Assert.IsTrue(true, "If an error was not thrown then we are OK");
 }
 public void Test_AddItemSelectedEventHandler_WhenMapperUsingControlAdapter_ShouldAddBehaviours()
 {
     //---------------Set up test pack-------------------
     var cmbWin = GetWinFormsControlAdapter();
     var comboBoxMapper = new ListComboBoxMapperStub(cmbWin);
     //---------------Assert ComboBoxMapperStub----------------
     Assert.IsInstanceOf<ComboBox>(comboBoxMapper.Control.GetControl());
     Assert.IsInstanceOf<ComboBox>(comboBoxMapper.GetControl());
     //---------------Execute Test ----------------------
     var comboBoxStrategyWin = new ListComboBoxMapperStrategyWin();
     comboBoxStrategyWin.AddItemSelectedEventHandler(comboBoxMapper);
     //---------------Assert Result----------------------
     Assert.IsTrue(true, "If an error was not thrown then we are OK");
 }