/**
* Test that radio params are wired up in the model so that selecting them changes the downloadUrl.
*/
public void testRadioQueryParams() throws Exception {
NewSpringBootWizardModel model = parseFrom("initializr.json");
RadioGroup packaging = model.getRadioGroups().getGroup("packaging");
LiveVariable<RadioInfo> selection = packaging.getSelection().selection;
assertEquals("jar", selection.getValue().getValue());
String urlParam = getUrlParam(model.downloadUrl.getValue(), "packaging");
assertEquals("jar", urlParam);
selection.setValue(packaging.getRadio("war"));