public void multipleRadioButtonsInTheSameGroup() throws Exception
{
RadioButtonPanel radio1 = new RadioButtonPanel();
RadioButtonPanel radio2 = new RadioButtonPanel();
RadioButtonPanel radio3 = new RadioButtonPanel();
RadioButtonGroup group = new RadioButtonGroup();
group.add(radio1);
group.add(radio2);
group.add(radio3);
radio1.setSelected(true);
checkSelectedRadioButton(group, radio1, radio2, radio3);
radio2.setSelected(true);
checkSelectedRadioButton(group, radio2, radio1, radio3);