Пример #1
0
        public void Construction()
        {
            consoleBehaviourMock_.ScaleGridToggleBehaviour.Received(1);
            consoleBehaviourMock_.DirectionGridToggleBehaviour.Received(1);
            consoleBehaviourMock_.EquatorToggleBehaviour.Received(1);

            componentFactoryMock_.Received(1).CreateToggleButton(scaleGridToggleBehaviourMock_);
            componentFactoryMock_.Received(1).CreateToggleButton(directionGridToggleBehaviourMock_);
            componentFactoryMock_.Received(1).CreateToggleButton(equatorToggleBehaviourMock_);
        }
Пример #2
0
 public void Then_the_component_factory_should_retrieve_the_radio_button_group_control()
 {
     _componentFactory
     .Received()
     .HtmlControlFor <RadioButtonGroup>(_radioButtonGroupPropertySelector);
 }
Пример #3
0
 public void Then_the_component_factory_should_retrieve_the_drop_down_control()
 {
     _componentFactory
     .Received()
     .HtmlControlFor <DropDown>(_dropDownPropertySelector);
 }
Пример #4
0
 public void Then_the_component_factory_should_retrieve_the_textarea_control()
 {
     _componentFactory
     .Received()
     .HtmlControlFor <TextArea>(_propertySelector);
 }
 public void Then_the_component_factory_should_retrieve_the_checkbox_control()
 {
     _componentFactory
     .Received()
     .HtmlControlFor <CheckBox>(_propertySelector);
 }