assertTrue("null data element 1",exceptionThrown);
public void test_ConstructorLorg_eclipse_swt_graphics_Device$Lorg_eclipse_swt_graphics_FontData() {		// null  device argument		boolean exceptionThrown = false;	try {		FontData[] data = new FontData[1];		Font font = new Font(null,data);		font.dispose();	} catch (IllegalArgumentException e) {		exceptionThrown = true;	} 	assertTrue(exceptionThrown);		// null data argument		exceptionThrown = false;	try {		FontData[] data = null;		Font font = new Font(display,data);		font.dispose();	} catch (IllegalArgumentException e) {		exceptionThrown = true;	} 	assertTrue(exceptionThrown);	// zero length data array		exceptionThrown = false;	try {		FontData[] data = new FontData[0];		Font font = new Font(display,data);		font.dispose();	} catch (IllegalArgumentException e) {		exceptionThrown = true;	} 	assertTrue(exceptionThrown);		// null data element		exceptionThrown = false;	try {		FontData[] data = {			null,			new FontData()		};		Font font = new Font(display,data);		font.dispose();	} catch (IllegalArgumentException e) {		exceptionThrown = true;	} 	assertTrue("null data element 0",exceptionThrown);	exceptionThrown = false;	try {		FontData[] data = {			new FontData(),			null		};		Font font = new Font(display,data);		font.dispose();	} catch (IllegalArgumentException e) {		exceptionThrown = true;	} //	 Bug 70630 - Font constructor fails to throw ERROR_NULL_ARGUMENT//	 remove comment when bug is fixed.//	assertTrue("null data element 1",exceptionThrown);		// test that FontData is set correctly		FontData data = new FontData();	Font font = new Font(display,data);	FontData[] returnedData = font.getFontData();	assertEquals(data,returnedData[0]);	font.dispose();}