InfinispanCommunicationDetailsCache implements CommunicationDetailsCache, ServiceLifecycle { @Override public CommunicationDetails get(String tenantId, String id) { CommunicationDetails ret = communicationDetails.get(id); if (log.isLoggable(Level.FINEST)) { log.finest("Get communication details [id="+id+"] = "+ret); } return ret; } InfinispanCommunicationDetailsCache();  InfinispanCommunicationDetailsCache(CacheContainer cacheContainer); @PostConstruct void init(); @Override CommunicationDetails get(String tenantId, String id); @Override void store(String tenantId, List<CommunicationDetails> details); @Override List<CommunicationDetails> getById(String tenantId, String id);  }
@Test public void testSingleConsumerNotFound() { assertNull(cdc.get(null, "id1")); }