### Question:
CachePropertiesUtil { public static List<CacheConfiguration> getCacheConfigurations(){ List<CacheConfiguration> openmrsCacheConfigurationList = new ArrayList<>(); Resource[] resourceFromClassPath = getResourceFromClassPath(); Arrays.stream(resourceFromClassPath) .forEach(r -> addCacheConfigsFormResourceToList(r, openmrsCacheConfigurationList)); return openmrsCacheConfigurationList; } private  CachePropertiesUtil(); static List<CacheConfiguration> getCacheConfigurations();  }### Answer:
@Test public void shouldReturnCacheConfigsFromPropertiesFile(){ List<CacheConfiguration> cacheConfigurations = CachePropertiesUtil.getCacheConfigurations(); assertThat(cacheConfigurations.size(), is(2)); assertThat(cacheConfigurations.get(0).getTimeToIdleSeconds(), is(300L)); }