assert(results.length == 1);
assertTrue(results.length == 1);
	public void testElementListSelectionDialog2() throws Exception {		Object[] elements= new Integer[] {			new Integer(0),			new Integer(1),			new Integer(2),			new Integer(7),			new Integer(12),			new Integer(42)					};		ElementListSelectionDialog dialog= new ElementListSelectionDialog(getShell(), new TestLabelProvider());		dialog.setIgnoreCase(false);		dialog.setTitle(NewWizardMessages.getString("TypePage.ChoosePackageDialog.title")); //$NON-NLS-1$		dialog.setMessage(NewWizardMessages.getString("TypePage.ChoosePackageDialog.description")); //$NON-NLS-1$		dialog.setEmptyListMessage(NewWizardMessages.getString("TypePage.ChoosePackageDialog.empty")); //$NON-NLS-1$				dialog.setElements(elements);		dialog.setInitialSelections(new Object[] {new Integer(7)});				DialogCheck.assertDialog(dialog, this);				Object[] results= dialog.getResult();		assert(results.length == 1);		assertEquals(new Integer(7), results[0]);	}