484485486487488489490491492493494
@Override public void onLoad(Widget sender) { ++firedLoad; } }); im.fireEvent(new LoadEvent() { // Replaced by Joel's event firing when possible. }); assertEquals(1, firedLoad); assertEquals(0, firedError); im.fireEvent(new ErrorEvent() {