PassengerStopAssignmentLoader { public static Map<String, String> load() { Map<String, String> mapping = new HashMap<>(); File chbFile = getFile(); if (chbFile == null) { return null; } try (FileInputStream fis = new FileInputStream(chbFile); GZIPInputStream input = new GZIPInputStream(fis)) { Export export = (Export) JAXBContext.newInstance(Export.class).createUnmarshaller().unmarshal(input); if (export != null) { int count = handleExport(mapping, export); MetricStore.getInstance().storeMetric("chb.mappings", count); LOGGER.info("Got export, with {} entries", count); } } catch (JAXBException | IOException e) { LOGGER.info("Got exception reading CHB file", e); } return mapping; }  static Map<String, String> load();  }
@Test @Ignore public void load() throws Exception { Map<String,String> bla = PassengerStopAssignmentLoader.load(); Assert.assertTrue(bla.size() > 1); }