OptionChoiceGUI_NB extends OptionGUI { @Override public void bindingDoUnbind() { List<Binding> bindingList = bindingGroup.getBindings(); for ( int i = bindingList.size() - 1; i >= 0; --i ) { bindingList.get( i ).unbind(); } } OptionChoiceGUI_NB();  OptionChoiceGUI_NB( AbstractOptionChoice option ); AbstractOptionChoice getOption(); void setOption( AbstractOptionChoice option ); @Override void bindingDoUnbind(); @Override AbstractOption getUsedOption(); static final String PROP_OPTION; }
@Test public void testBindingDoUnbind() { OptionSimpleChoice choice = new OptionSimpleChoice( "Test Option", "Test Name" ); OptionChoiceGUI_NB gui = new OptionChoiceGUI_NB( choice ); gui.bindingDoUnbind(); }