void () { configureByFile(getTestName(true) + ".fxml"); assertTrue(myItems.length > 0); LookupElement selectionElement = null; for (LookupElement item : myItems) { if (item.getLookupString().equals("backgroundFills")) { selectionElement = item; break; } } if (selectionElement != null) { fail("Read only attribute was suggested"); } }