Bug 160000 [DataBinding] Convert scenarios to official APIs
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/ComboScenarios.java
assertArrayEquals(catalog.getLodgings(), getViewerContent(cviewer).toArray());
        
        assertEquals(getColumn(catalog.getLodgings(), "name"), getComboContent());
        
        
        
        
        
        
        Lodging lodging = SampleData.FACTORY.createLodging();
        lodging.setName("End Lodging");
        catalog.addLodging(lodging);
        int index = getComboContent().size() - 1;
        assertEquals(getViewerContent(cviewer).get(index), lodging);
        
        catalog.removeLodging(catalog.getLodgings()[0]);
        
        assertEquals(getColumn(catalog.getLodgings(), "name"), getComboContent());
        
        catalog.removeLodging(catalog.getLodgings()[2]);
        
        assertEquals(getColumn(catalog.getLodgings(), "name"), getComboContent());
        
        for (int i = 0; i < catalog.getLodgings().length; i++) {
            Lodging l = catalog.getLodgings()[i];
            l.setName("Changed: " + l.getName());
        }
        spinEventLoop(0);