Class NotificationTransportMock

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      fr.paris.lutece.plugins.grubusiness.business.notification.NotifyGruResponse send​(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notification)
      Send a Notification GRU can throw AppException in case of problem with the JSON request
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NotificationTransportMock

        public NotificationTransportMock()
        Simple Constructor
      • NotificationTransportMock

        public NotificationTransportMock​(IHttpTransportProvider httpTransport)
        Constructor with IHttpTransportProvider parameter
        Parameters:
        httpTransport - the provider to use
    • Method Detail

      • send

        public fr.paris.lutece.plugins.grubusiness.business.notification.NotifyGruResponse send​(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notification)
        Description copied from interface: INotificationTransportProvider
        Send a Notification GRU can throw AppException in case of problem with the JSON request
        Specified by:
        send in interface INotificationTransportProvider
        Parameters:
        notification - the notification
        Returns:
        a notifyGruResponse