Search in sources :

Example 1 with GeoAreasHandler

use of org.infobip.mobile.messaging.geo.transition.GeoAreasHandler in project mobile-messaging-sdk-android by infobip.

the class GeoAreasHandlerTests method setUp.

@Override
public void setUp() throws Exception {
    super.setUp();
    enableMessageStoreForReceivedMessages();
    geoNotificationHelper = Mockito.mock(GeoNotificationHelper.class);
    geoReporter = Mockito.mock(GeoReporter.class);
    messageStore = Mockito.mock(MessageStore.class);
    geoAreasHandler = new GeoAreasHandler(contextMock, mobileMessagingCore, geoNotificationHelper, geoReporter, new GeofencingHelper(context));
    geoReportCaptor = ArgumentCaptor.forClass(GeoReport[].class);
    geoNotificationCaptor = new ArgumentCaptor<>();
}
Also used : MessageStore(org.infobip.mobile.messaging.storage.MessageStore) GeofencingHelper(org.infobip.mobile.messaging.geo.geofencing.GeofencingHelper) GeoAreasHandler(org.infobip.mobile.messaging.geo.transition.GeoAreasHandler) GeoReporter(org.infobip.mobile.messaging.geo.report.GeoReporter) GeoNotificationHelper(org.infobip.mobile.messaging.geo.transition.GeoNotificationHelper)

Aggregations

GeofencingHelper (org.infobip.mobile.messaging.geo.geofencing.GeofencingHelper)1 GeoReporter (org.infobip.mobile.messaging.geo.report.GeoReporter)1 GeoAreasHandler (org.infobip.mobile.messaging.geo.transition.GeoAreasHandler)1 GeoNotificationHelper (org.infobip.mobile.messaging.geo.transition.GeoNotificationHelper)1 MessageStore (org.infobip.mobile.messaging.storage.MessageStore)1