### Question:
ServiceAlertsHelper { public PtSituationElementStructure getServiceAlertBeanAsPtSituationElementStructure( ServiceAlertBean serviceAlert) { PtSituationElementStructure ptSit = new PtSituationElementStructure(); EntryQualifierStructure value = new EntryQualifierStructure(); value.setValue(serviceAlert.getId()); ptSit.setSituationNumber(value); if (serviceAlert.getCreationTime() != 0) ptSit.setCreationTime(new Date(serviceAlert.getCreationTime())); handleDescriptions(serviceAlert, ptSit); handleOtherFields(serviceAlert, ptSit); handleAffects(serviceAlert, ptSit); handleConsequences(serviceAlert, ptSit); return ptSit; }  void addSituationExchangeToSiriForStops(
      ServiceDelivery serviceDelivery,
      List<MonitoredStopVisitStructure> visits,
      NycTransitDataService nycTransitDataService, List<AgencyAndId> stopIds); void addSituationExchangeToServiceDelivery(ServiceDelivery serviceDelivery,
      Collection<ServiceAlertBean> serviceAlerts); void addSituationExchangeToServiceDelivery(ServiceDelivery serviceDelivery,
      List<VehicleActivityStructure> activities,
      NycTransitDataService nycTransitDataService); void addSituationExchangeToServiceDelivery(ServiceDelivery serviceDelivery,
      List<VehicleActivityStructure> activities,
      NycTransitDataService nycTransitDataService, List<AgencyAndId> routeIds); void addSituationExchangeToServiceDelivery(ServiceDelivery serviceDelivery,
      Map<String, ServiceAlertBean> currentServiceAlerts); void addClosedSituationExchangesToSiri(
      ServiceDelivery serviceDelivery, Collection<String> deletedIds); void addGlobalServiceAlertsToServiceDelivery(ServiceDelivery serviceDelivery, RealtimeService realtimeService); PtSituationElementStructure getServiceAlertBeanAsPtSituationElementStructure(
      ServiceAlertBean serviceAlert); Date serviceAlertTimeToDate(long time);  }### Answer:
@Test public void testGetServiceAlertBeanAsPtSituationElementStructure() { ServiceAlertBean serviceAlertBean = new ServiceAlertBean(); PtSituationElementStructure structure = getServiceAlertBeanAsPtSituationElementStructure(serviceAlertBean); assertNotNull(structure); }