package eu.dnetlib.data.common;

import eu.dnetlib.enabling.tools.blackboard.NotificationHandler;

public class AbstractUnibiBaseServiceMock {

	/**
	 * notification handler.
	 */
	private NotificationHandler notificationHandler;

		public boolean notify(final String subscrId, final String topic, final String isId, final String message) {
		getNotificationHandler().notified(subscrId, topic, isId, message);
		return true;
	}
	
	public NotificationHandler getNotificationHandler() {
		return notificationHandler;
	}

	public void setNotificationHandler(final NotificationHandler notificationHandler) {
		this.notificationHandler = notificationHandler;
	}
	
}
