@Test public void testLoadInformationElementMappingWithCSVMissMatchHeader() { String family = "family"; ClassLoader classLoader = getClass().getClassLoader(); File file = new File(classLoader.getResource("ie-mapping/IPFIX_IEId_Header_Miss_Match.csv").getFile()); m_informationElementService.loadInformationElementMapping(family, file); verifyZeroInteractions(m_cache); }
@Override public void loadInformationElementMapping(String family, File file) { loadInformationElementMappingInternal(family, file); }
InformationElementServiceImpl implements InformationElementService { @Override public void loadInformationElementMapping(String family, File file) { loadInformationElementMappingInternal(family, file); } }
InformationElementServiceImpl implements InformationElementService { @Override public void loadInformationElementMapping(String family, File file) { loadInformationElementMappingInternal(family, file); } InformationElementServiceImpl(InformationElementCache ieCache); }
InformationElementServiceImpl implements InformationElementService { @Override public void loadInformationElementMapping(String family, File file) { loadInformationElementMappingInternal(family, file); } InformationElementServiceImpl(InformationElementCache ieCache); @Override InformationElement getInformationElement(String family, int informationElementId); @Override InformationElement getInformationElement(long enterpriseNumber, String informationElementName); @Override boolean isIECacheAvailable(); @Override void loadInformationElementMapping(String family, File file); @Override boolean removeInformationElementMapping(String deviceFamily); @Override void setIeMappingCacheService(IEMappingCacheService ieMappingCacheService); }
InformationElementServiceImpl implements InformationElementService { @Override public void loadInformationElementMapping(String family, File file) { loadInformationElementMappingInternal(family, file); } InformationElementServiceImpl(InformationElementCache ieCache); @Override InformationElement getInformationElement(String family, int informationElementId); @Override InformationElement getInformationElement(long enterpriseNumber, String informationElementName); @Override boolean isIECacheAvailable(); @Override void loadInformationElementMapping(String family, File file); @Override boolean removeInformationElementMapping(String deviceFamily); @Override void setIeMappingCacheService(IEMappingCacheService ieMappingCacheService);  }