use of org.infobip.mobile.messaging.geo.transition.GeoNotificationHelper in project mobile-messaging-sdk-android by infobip.
the class GeoNotificationHelperTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
geoNotificationHelper = new GeoNotificationHelper(context, geoBroadcaster, coreBroadcaster, notificationHandler);
geoMessageArgumentCaptor = ArgumentCaptor.forClass(GeoMessage.class);
messageArgumentCaptor = ArgumentCaptor.forClass(Message.class);
geoEventTypeArgumentCaptor = ArgumentCaptor.forClass(GeoEventType.class);
}
use of org.infobip.mobile.messaging.geo.transition.GeoNotificationHelper 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<>();
}
Aggregations