public void testAlertBase() {
// onAttach
GwtBootstrapModule module = new GwtBootstrapModule();
module.onModuleLoad();
Alert alert = module.getWidget().getAlert();
final CloseHandler<AlertBase> closeHandler = mock(CloseHandler.class);
alert.addCloseHandler(closeHandler);
final ClosedHandler<AlertBase> closedHandler = mock(ClosedHandler.class);
alert.addClosedHandler(closedHandler);
alert.close();
verify(closeHandler).onClose(any(CloseEvent.class));
verify(closedHandler).onClosed(any(ClosedEvent.class));
}