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_); }
public void Then_the_component_factory_should_retrieve_the_radio_button_group_control() { _componentFactory .Received() .HtmlControlFor <RadioButtonGroup>(_radioButtonGroupPropertySelector); }
public void Then_the_component_factory_should_retrieve_the_drop_down_control() { _componentFactory .Received() .HtmlControlFor <DropDown>(_dropDownPropertySelector); }
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); }