Bug 160000 [DataBinding] Convert scenarios to official APIs
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/ComboScenarios.java
catalog.removeLodging(lodging);
        assertEquals(getViewerContent(cviewer), getViewerContent(otherViewer));
    }
    /**
     * This scenario tests a simple SWT CCombo that is bound to a list of
     * Country objects. The Country object's name property is listed in the
     * Combo.
     * 
     * The Combo's selection is bounded to the Country property of an Account.
     */
    public void test_ROCombo_SWTCCombo() {
        
        IObservableList list = new WritableList();
        for (int i = 0; i < catalog.getAccounts().length; i++)
            list.add(catalog.getAccounts()[i].getCountry());
        CCombo ccombo = new CCombo(getComposite(), SWT.READ_ONLY | SWT.DROP_DOWN);
        
        getDbc().bindList(SWTObservables.observeItems(ccombo), list, null);
        assertEquals(Arrays.asList(ccombo.getItems()), list);
        Account account = catalog.getAccounts()[0];
        
        IObservableValue comboSelection = SWTObservables.observeSelection(ccombo);
        getDbc().bindValue(comboSelection, BeansObservables.observeValue(account, "country"), null);
        
        String selection = (String) list.get(2);
        ccombo.setText(selection); 
        assertEquals(account.getCountry(), selection);
    }
    /**