}
}
@PatchMethod
static boolean confirm(String msg) {
WindowOperationsHandler handler = GwtConfig.get().getModuleRunner().getWindowOperationsHandler();
if (handler == null) {
throw new GwtTestConfigurationException(
"A call to Window.confirm(msg) was triggered, but no "
+ WindowOperationsHandler.class.getSimpleName()
+ " has been registered. You need to setup your own with the protected 'setWindowOperationsHandler' method available in your test class");
}
return handler.confirm(msg);
}