@Test public void shouldReturnNullIfVendorMappingTemplateNotFound() { assertNull(vendorEventFeedService.vendorMappingTemplate("vendorMapping_xyz_facility.xml")); }
File vendorMappingTemplate(String templateName) { File vendorTemplate = null; try { vendorTemplate = new ClassPathResource(templateName).getFile(); } catch (IOException e) { logger.warn(e); } return vendorTemplate; }
VendorEventFeedService { File vendorMappingTemplate(String templateName) { File vendorTemplate = null; try { vendorTemplate = new ClassPathResource(templateName).getFile(); } catch (IOException e) { logger.warn(e); } return vendorTemplate; } }
VendorEventFeedService { File vendorMappingTemplate(String templateName) { File vendorTemplate = null; try { vendorTemplate = new ClassPathResource(templateName).getFile(); } catch (IOException e) { logger.warn(e); } return vendorTemplate; }  }
VendorEventFeedService { File vendorMappingTemplate(String templateName) { File vendorTemplate = null; try { vendorTemplate = new ClassPathResource(templateName).getFile(); } catch (IOException e) { logger.warn(e); } return vendorTemplate; }  String getRecentFeed(String requestURL, String vendor, String category); String getEventFeed(String requestURL, String vendor, String category, int feedNumber); }
VendorEventFeedService { File vendorMappingTemplate(String templateName) { File vendorTemplate = null; try { vendorTemplate = new ClassPathResource(templateName).getFile(); } catch (IOException e) { logger.warn(e); } return vendorTemplate; }  String getRecentFeed(String requestURL, String vendor, String category); String getEventFeed(String requestURL, String vendor, String category, int feedNumber);  }