InformationElementServiceImpl implements InformationElementService { @Override public boolean isIECacheAvailable() { return m_ieCache.isAvailable(); } 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);  }
@Test public void testInitWithoutCSVInIEMappingDir() { InformationElementServiceImpl informationElementService = new InformationElementServiceImpl(m_cache); assertFalse(informationElementService.isIECacheAvailable()); }