assertEquals("[MetaModelSchema.contributor, MetaModelSchema.project, MetaModelSchema.project_contributor]",
Arrays.toString(fromItems));
}
public void testGetSelectionNoRows() throws Exception {
SelectItem item1 = new SelectItem("foo", "f");
SelectItem item2 = new SelectItem("bar", "b");
SelectItem item3 = new SelectItem("baz", "bz");
List<SelectItem> selectItems1 = Arrays.asList(item1, item2, item3);
List<SelectItem> selectItems2 = Arrays.asList(item2, item1);
DataSet ds = MetaModelHelper.getSelection(selectItems2, new EmptyDataSet(selectItems1));
assertEquals(SubSelectionDataSet.class, ds.getClass());