loggerMock.expects.error("error-notification-reporter","message");
// ==================================================================
// Do the test.
// ==================================================================
LogDispatcherNotificationReporter reporter = new LogDispatcherNotificationReporter(loggerMock);
Notification notification = new SimpleMessageNotification(NotificationType.ERROR, "message");
reporter.reportNotification(notification);
}