### Question:
MapEventFactory { static OfflineDownloadStartEvent buildOfflineDownloadStartEvent(PhoneState phoneState, String shapeForOfflineRegion, @FloatRange(from = MapboxConstants.MINIMUM_ZOOM, to = MapboxConstants.MAXIMUM_ZOOM) Double minZoom, @FloatRange(from = MapboxConstants.MINIMUM_ZOOM, to = MapboxConstants.MAXIMUM_ZOOM) Double maxZoom, String styleURL) { OfflineDownloadStartEvent offlineEvent = new OfflineDownloadStartEvent(phoneState, shapeForOfflineRegion, minZoom, maxZoom); offlineEvent.setStyleURL(styleURL); return offlineEvent; }    }### Answer:
@Test public void testOfflineDownloadStartEvent() { OfflineDownloadStartEvent offlineDownloadStartEvent = MapEventFactory.buildOfflineDownloadStartEvent(phoneState, SHAPE, MIN_ZOOM, MAX_ZOOM, STYLE_URL); assertEquals(SHAPE, offlineDownloadStartEvent.getShapeForOfflineRegion()); assertEquals(MIN_ZOOM, offlineDownloadStartEvent.getMinZoom()); assertEquals(MAX_ZOOM, offlineDownloadStartEvent.getMaxZoom()); assertEquals(STYLE_URL, offlineDownloadStartEvent.getStyleURL()); assertEquals(CREATED, offlineDownloadStartEvent.getCreated()); String json = gson.toJson(offlineDownloadStartEvent); OfflineDownloadStartEvent event = gson.fromJson(json, OfflineDownloadStartEvent.class); assertEquals(offlineDownloadStartEvent, event); }