// prepare category/entries
CategoryInfo category = new CategoryInfo();
category.setId("com.google.gdt.eclipse.designer.ImageBundle");
List<EntryInfo> entries = Lists.newArrayList();
// send palette broadcast
PaletteEventListener listener = frame.getBroadcast(PaletteEventListener.class);
listener.entries(category, entries);
// we should have exactly one entry
ToolEntryInfo toolEntry;
{
assertEquals(1, entries.size());
toolEntry = (ToolEntryInfo) entries.get(0);